Commit 4d04226c authored by Emilia Kasper's avatar Emilia Kasper
Browse files

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: default avatarRichard Levitte <levitte@openssl.org>
parent 9db0c91c
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment