diff options
Diffstat (limited to 'src/lib/libcrypto/rsa')
-rw-r--r-- | src/lib/libcrypto/rsa/rsa_pmeth.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/libcrypto/rsa/rsa_pmeth.c b/src/lib/libcrypto/rsa/rsa_pmeth.c index 5580b7783a..e75596afa3 100644 --- a/src/lib/libcrypto/rsa/rsa_pmeth.c +++ b/src/lib/libcrypto/rsa/rsa_pmeth.c | |||
@@ -148,8 +148,7 @@ static void pkey_rsa_cleanup(EVP_PKEY_CTX *ctx) | |||
148 | { | 148 | { |
149 | if (rctx->pub_exp) | 149 | if (rctx->pub_exp) |
150 | BN_free(rctx->pub_exp); | 150 | BN_free(rctx->pub_exp); |
151 | if (rctx->tbuf) | 151 | free(rctx->tbuf); |
152 | free(rctx->tbuf); | ||
153 | free(rctx); | 152 | free(rctx); |
154 | } | 153 | } |
155 | } | 154 | } |