mirror of
https://github.com/openssl/openssl.git
synced 2024-11-21 01:15:20 +08:00
Fix CID 1465215 : Explicit null dereferenced (in test)
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com> (Merged from https://github.com/openssl/openssl/pull/12379)
This commit is contained in:
parent
84ba665d72
commit
fd7d574dd9
@ -841,6 +841,8 @@ static int test_fromdata_ecx(int tst)
|
||||
size = ED448_KEYLEN;
|
||||
alg = "ED448";
|
||||
break;
|
||||
default:
|
||||
goto err;
|
||||
}
|
||||
|
||||
ctx = EVP_PKEY_CTX_new_from_name(NULL, alg, NULL);
|
||||
|
Loading…
Reference in New Issue
Block a user