mirror of
https://github.com/openssl/openssl.git
synced 2025-01-18 13:44:20 +08:00
fix Coverity 1506709: error handling
Reviewed-by: Shane Lontis <shane.lontis@oracle.com> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/18679)
This commit is contained in:
parent
5c535e4692
commit
f80cdee7c1
@ -260,7 +260,8 @@ static void *fake_rsa_st_open(void *provctx, const char *uri)
|
||||
return NULL;
|
||||
|
||||
storectx = OPENSSL_zalloc(1);
|
||||
TEST_ptr(storectx);
|
||||
if (!TEST_ptr(storectx))
|
||||
return NULL;
|
||||
|
||||
TEST_info("fake_rsa_open called");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user