summaryrefslogtreecommitdiff
path: root/src/crypto/evp/p_ec.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/crypto/evp/p_ec.c')
-rw-r--r--src/crypto/evp/p_ec.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/crypto/evp/p_ec.c b/src/crypto/evp/p_ec.c
index e2502a34..d311d220 100644
--- a/src/crypto/evp/p_ec.c
+++ b/src/crypto/evp/p_ec.c
@@ -74,7 +74,7 @@
typedef struct {
- /* message digest */
+ // message digest
const EVP_MD *md;
} EC_PKEY_CTX;
@@ -161,8 +161,8 @@ static int pkey_ec_derive(EVP_PKEY_CTX *ctx, uint8_t *key,
}
pubkey = EC_KEY_get0_public_key(ctx->peerkey->pkey.ec);
- /* NB: unlike PKCS#3 DH, if *outlen is less than maximum size this is
- * not an error, the result is truncated. */
+ // NB: unlike PKCS#3 DH, if *outlen is less than maximum size this is
+ // not an error, the result is truncated.
outlen = *keylen;
@@ -196,7 +196,7 @@ static int pkey_ec_ctrl(EVP_PKEY_CTX *ctx, int type, int p1, void *p2) {
return 1;
case EVP_PKEY_CTRL_PEER_KEY:
- /* Default behaviour is OK */
+ // Default behaviour is OK
return 1;
default: