mirror of
https://github.com/openssl/openssl.git
synced 2025-04-18 20:40:45 +08:00
Remove OPENSSL_assert() from crypto/kdf
Reviewed-by: Andy Polyakov <appro@openssl.org> (Merged from https://github.com/openssl/openssl/pull/3740)
This commit is contained in:
parent
8f9ee7a33f
commit
7d248ee0ae
@ -184,7 +184,8 @@ static int tls1_prf_P_hash(const EVP_MD *md,
|
||||
int ret = 0;
|
||||
|
||||
chunk = EVP_MD_size(md);
|
||||
OPENSSL_assert(chunk >= 0);
|
||||
if (!ossl_assert(chunk >= 0))
|
||||
goto err;
|
||||
|
||||
ctx = EVP_MD_CTX_new();
|
||||
ctx_tmp = EVP_MD_CTX_new();
|
||||
|
Loading…
x
Reference in New Issue
Block a user