Fix a misuse of NULL check
authorWeiguo Li <liwg06@foxmail.com>
Mon, 27 Dec 2021 16:05:54 +0000 (00:05 +0800)
committerTomas Mraz <tomas@openssl.org>
Wed, 29 Dec 2021 15:01:28 +0000 (16:01 +0100)
commitff7cdc15875293a330831a80d83edbafd25a9d36
treeddb9610650719d67335ee2e3c1f7f79fb20cad52
parent40586e462df76adf163e0d31879dc2d5fa90e109
Fix a misuse of NULL check

Fixes: #17356
CLA: trivial

Reviewed-by: Ben Kaduk <kaduk@mit.edu>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/17357)
crypto/rand/rand_egd.c