diff options
Diffstat (limited to 'src/lib/libcrypto/bn/bn_exp.c')
-rw-r--r-- | src/lib/libcrypto/bn/bn_exp.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/libcrypto/bn/bn_exp.c b/src/lib/libcrypto/bn/bn_exp.c index 0e36e8d7b5..5d9263e01e 100644 --- a/src/lib/libcrypto/bn/bn_exp.c +++ b/src/lib/libcrypto/bn/bn_exp.c | |||
@@ -840,8 +840,7 @@ err: | |||
840 | BN_MONT_CTX_free(mont); | 840 | BN_MONT_CTX_free(mont); |
841 | if (powerbuf != NULL) { | 841 | if (powerbuf != NULL) { |
842 | OPENSSL_cleanse(powerbuf, powerbufLen); | 842 | OPENSSL_cleanse(powerbuf, powerbufLen); |
843 | if (powerbufFree) | 843 | free(powerbufFree); |
844 | free(powerbufFree); | ||
845 | } | 844 | } |
846 | BN_CTX_end(ctx); | 845 | BN_CTX_end(ctx); |
847 | return (ret); | 846 | return (ret); |