diff options
author | Shane Lontis <shane.lontis@oracle.com> | 2020-02-10 11:45:27 +1000 |
---|---|---|
committer | Shane Lontis <shane.lontis@oracle.com> | 2020-02-14 07:28:46 +1000 |
commit | 075b1f2f42c9ab1f5c80078cad70de0216748b6d (patch) | |
tree | 25fe5cb77edaee8f576fd459eb47642853ea21b5 /ssl | |
parent | 51994e505dbb1cd0dd76869ec962e2948b77b585 (diff) |
Fix coverity issues
CID : 1458169 RESOURCE LEAK ffc_params_generate.c - False positive, but addressed another Leak in adjacent code
CID : 1458171 UNCHECKED RET apps/pkeyutl.c
CID : 1458173 DEAD CODE ffc_params_generate.c
CID : 1458174 RESOURCE LEAK ssl_lib.c
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Bernd Edlinger <bernd.edlinger@hotmail.de>
(Merged from https://github.com/openssl/openssl/pull/11048)
Diffstat (limited to 'ssl')
-rw-r--r-- | ssl/ssl_lib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/ssl_lib.c b/ssl/ssl_lib.c index 23101954ec..a1c3987962 100644 --- a/ssl/ssl_lib.c +++ b/ssl/ssl_lib.c @@ -3148,7 +3148,7 @@ SSL_CTX *SSL_CTX_new_with_libctx(OPENSSL_CTX *libctx, const char *propq, /* initialize cipher/digest methods table */ if (!ssl_load_ciphers(ret)) - return 0; + goto err2; if (!SSL_CTX_set_ciphersuites(ret, OSSL_default_ciphersuites())) goto err; |