summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/bn/bn_exp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/bn/bn_exp.c')
-rw-r--r--src/lib/libcrypto/bn/bn_exp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/bn/bn_exp.c b/src/lib/libcrypto/bn/bn_exp.c
index 4a28c2c605..c4ca36d136 100644
--- a/src/lib/libcrypto/bn/bn_exp.c
+++ b/src/lib/libcrypto/bn/bn_exp.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: bn_exp.c,v 1.22 2015/03/21 08:05:20 doug Exp $ */ 1/* $OpenBSD: bn_exp.c,v 1.23 2015/09/10 15:56:25 jsing Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -825,7 +825,7 @@ err:
825 if ((in_mont == NULL) && (mont != NULL)) 825 if ((in_mont == NULL) && (mont != NULL))
826 BN_MONT_CTX_free(mont); 826 BN_MONT_CTX_free(mont);
827 if (powerbuf != NULL) { 827 if (powerbuf != NULL) {
828 OPENSSL_cleanse(powerbuf, powerbufLen); 828 explicit_bzero(powerbuf, powerbufLen);
829 free(powerbufFree); 829 free(powerbufFree);
830 } 830 }
831 BN_CTX_end(ctx); 831 BN_CTX_end(ctx);