diff options
author | Emilia Kasper <emilia@openssl.org> | 2015-08-31 13:57:44 +0200 |
---|---|---|
committer | Emilia Kasper <emilia@openssl.org> | 2015-08-31 16:31:45 +0200 |
commit | 4d04226c2ec7e7f69f6234def63631648e35e828 (patch) | |
tree | 942333475d608694444652756cd4b2ecf7d41439 /crypto | |
parent | 9db0c91c39fb548c36d6c3c944f50d4c068eefb7 (diff) |
Fix spurious bntest failures.
BN_bntest_rand generates a single-word zero BIGNUM with quite a large probability.
A zero BIGNUM in turn will end up having a NULL |d|-buffer, which we shouldn't dereference without checking.
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions