summaryrefslogtreecommitdiffstats
path: root/crypto/openssl/crypto/engine/hw_ubsec.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/openssl/crypto/engine/hw_ubsec.c')
-rw-r--r--crypto/openssl/crypto/engine/hw_ubsec.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/crypto/openssl/crypto/engine/hw_ubsec.c b/crypto/openssl/crypto/engine/hw_ubsec.c
index 6286dd8..5234a08 100644
--- a/crypto/openssl/crypto/engine/hw_ubsec.c
+++ b/crypto/openssl/crypto/engine/hw_ubsec.c
@@ -561,7 +561,6 @@ static int ubsec_mod_exp(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
UBSECerr(UBSEC_F_UBSEC_MOD_EXP, UBSEC_R_BN_EXPAND_FAIL);
return 0;
}
- memset(r->d, 0, BN_num_bytes(m));
if ((fd = p_UBSEC_ubsec_open(UBSEC_KEY_DEVICE_NAME)) <= 0) {
fd = 0;
OpenPOWER on IntegriCloud