Loading crypto/ecdh/ech_ossl.c +3 −1 Original line number Original line Diff line number Diff line Loading @@ -212,7 +212,9 @@ static int ecdh_compute_key(void *out, size_t outlen, const EC_POINT *pub_key, BN_CTX_end(ctx); BN_CTX_end(ctx); if (ctx) if (ctx) BN_CTX_free(ctx); BN_CTX_free(ctx); if (buf) if (buf) { OPENSSL_cleanse(buf, buflen); OPENSSL_free(buf); OPENSSL_free(buf); } return (ret); return (ret); } } Loading
crypto/ecdh/ech_ossl.c +3 −1 Original line number Original line Diff line number Diff line Loading @@ -212,7 +212,9 @@ static int ecdh_compute_key(void *out, size_t outlen, const EC_POINT *pub_key, BN_CTX_end(ctx); BN_CTX_end(ctx); if (ctx) if (ctx) BN_CTX_free(ctx); BN_CTX_free(ctx); if (buf) if (buf) { OPENSSL_cleanse(buf, buflen); OPENSSL_free(buf); OPENSSL_free(buf); } return (ret); return (ret); } }