diff --git a/crypto/fipsmodule/bn/div.c b/crypto/fipsmodule/bn/div.c index 42c124c5..6f850d9a 100644 --- a/crypto/fipsmodule/bn/div.c +++ b/crypto/fipsmodule/bn/div.c @@ -481,7 +481,7 @@ static const BIGNUM *bn_resized_from_ctx(const BIGNUM *bn, size_t width, if (ret == NULL || !BN_copy(ret, bn) || !bn_resize_words(ret, width)) { - return 0; + return NULL; } return ret; }