diff options
author | Shane Lontis <shane.lontis@oracle.com> | 2019-03-19 10:22:03 +1000 |
---|---|---|
committer | Pauli <paul.dale@oracle.com> | 2019-03-20 09:17:42 +1000 |
commit | a12864a5dec04c5e7cf75eaadc83c19871047a25 (patch) | |
tree | 14bcbd8e43b946101178d4ded56fd5dd5083787f /test/bn_internal_test.c | |
parent | c41f3ae0d92a87b903a9ed585622adae06791676 (diff) |
removed BN_clear NULL checks
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/8507)
Diffstat (limited to 'test/bn_internal_test.c')
-rw-r--r-- | test/bn_internal_test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/bn_internal_test.c b/test/bn_internal_test.c index eabeaf8b9f..cf47e8b734 100644 --- a/test/bn_internal_test.c +++ b/test/bn_internal_test.c @@ -73,8 +73,8 @@ static int test_bn_small_factors(void) for (i = 1; i < NUMPRIMES; i++) { prime_t p = primes[i]; - if (p > 3 && p <= 751) - BN_mul_word(b, p); + if (p > 3 && p <= 751 && !BN_mul_word(b, p)) + goto err; if (p > 751) break; } |