EVP_RAND_generate: fix return check
authorPeiwei Hu <jlu.hpw@foxmail.com>
Sun, 14 Nov 2021 15:16:57 +0000 (23:16 +0800)
committerTomas Mraz <tomas@openssl.org>
Mon, 22 Nov 2021 13:43:44 +0000 (14:43 +0100)
commita8f4cdd70c9d9ebe4553d7a72c67f73eaf0c169d
tree9997d12b7ce1113caa6209ea18811b79d82b76b8
parent7f608e4b1d9473258445144ba66216fb0e63aebe
EVP_RAND_generate: fix return check

Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/17028)
crypto/bn/bn_rand.c