summaryrefslogtreecommitdiff
path: root/lib/libcrypto/bn/bn_blind.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libcrypto/bn/bn_blind.c')
-rw-r--r--lib/libcrypto/bn/bn_blind.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libcrypto/bn/bn_blind.c b/lib/libcrypto/bn/bn_blind.c
index 264531013ef..f424e479d36 100644
--- a/lib/libcrypto/bn/bn_blind.c
+++ b/lib/libcrypto/bn/bn_blind.c
@@ -176,10 +176,10 @@ void BN_BLINDING_free(BN_BLINDING *r)
if(r == NULL)
return;
- if (r->A != NULL) BN_free(r->A );
- if (r->Ai != NULL) BN_free(r->Ai);
- if (r->e != NULL) BN_free(r->e );
- if (r->mod != NULL) BN_free(r->mod);
+ if (r->A != NULL) BN_clear_free(r->A );
+ if (r->Ai != NULL) BN_clear_free(r->Ai);
+ if (r->e != NULL) BN_clear_free(r->e );
+ if (r->mod != NULL) BN_clear_free(r->mod);
free(r);
}