]> git.ipfire.org Git - thirdparty/openssl.git/commit
Fix drbg_ossl_ctx_free() and drbg_nonce_ossl_ctx_free() to handle NULL
authorRichard Levitte <levitte@openssl.org>
Wed, 21 Aug 2019 08:12:05 +0000 (10:12 +0200)
committerRichard Levitte <levitte@openssl.org>
Wed, 21 Aug 2019 23:50:30 +0000 (01:50 +0200)
commit85d09e8848012d0dfdacf827d9d56730fa5daf16
tree382d1c2fb306ae564fbb03740de676a5a541ad88
parentc1d56231ef6385b557ec72eec508e55ea26ca8b0
Fix drbg_ossl_ctx_free() and drbg_nonce_ossl_ctx_free() to handle NULL

If these were passed NULL, the crashed with a SIGSEGV, when they
should do like all other freeing functions and become a no-op.

Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/9650)
crypto/rand/drbg_lib.c