diff options
Diffstat (limited to 'crypto/bn/exponentiation.c')
-rw-r--r-- | crypto/bn/exponentiation.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/bn/exponentiation.c b/crypto/bn/exponentiation.c index 72a8db4b..f7100ac3 100644 --- a/crypto/bn/exponentiation.c +++ b/crypto/bn/exponentiation.c @@ -954,7 +954,7 @@ int BN_mod_exp_mont_consttime(BIGNUM *rr, const BIGNUM *a, const BIGNUM *p, } else #endif { - if ((powerbufFree = (unsigned char *)OPENSSL_malloc( + if ((powerbufFree = OPENSSL_malloc( powerbufLen + MOD_EXP_CTIME_MIN_CACHE_LINE_WIDTH)) == NULL) { goto err; } |