Loading crypto/dh/dh_key.c +5 −2 Original line number Diff line number Diff line Loading @@ -213,8 +213,11 @@ static int compute_key(unsigned char *key, const BIGNUM *pub_key, DH *dh) ret=BN_bn2bin(tmp,key); err: if (ctx != NULL) { BN_CTX_end(ctx); BN_CTX_free(ctx); } return(ret); } Loading crypto/rsa/rsa_gen.c +2 −1 Original line number Diff line number Diff line Loading @@ -184,6 +184,7 @@ err: RSAerr(RSA_F_RSA_GENERATE_KEY,ERR_LIB_BN); ok=0; } if (ctx != NULL) BN_CTX_end(ctx); BN_CTX_free(ctx); BN_CTX_free(ctx2); Loading Loading
crypto/dh/dh_key.c +5 −2 Original line number Diff line number Diff line Loading @@ -213,8 +213,11 @@ static int compute_key(unsigned char *key, const BIGNUM *pub_key, DH *dh) ret=BN_bn2bin(tmp,key); err: if (ctx != NULL) { BN_CTX_end(ctx); BN_CTX_free(ctx); } return(ret); } Loading
crypto/rsa/rsa_gen.c +2 −1 Original line number Diff line number Diff line Loading @@ -184,6 +184,7 @@ err: RSAerr(RSA_F_RSA_GENERATE_KEY,ERR_LIB_BN); ok=0; } if (ctx != NULL) BN_CTX_end(ctx); BN_CTX_free(ctx); BN_CTX_free(ctx2); Loading