mirror of
https://github.com/openssl/openssl.git
synced 2024-12-03 05:41:46 +08:00
cmp: remove NULL check.
Instead appease coverity by marking 1464986 as a false positive. Coverity is confused by the engine reference counting. Reviewed-by: Tim Hudson <tjh@openssl.org> (Merged from https://github.com/openssl/openssl/pull/12309)
This commit is contained in:
parent
c4d0221405
commit
9283e9bd11
@ -3186,8 +3186,7 @@ int cmp_main(int argc, char **argv)
|
||||
X509_STORE_free(OSSL_CMP_CTX_get_certConf_cb_arg(cmp_ctx));
|
||||
OSSL_CMP_CTX_free(cmp_ctx);
|
||||
X509_VERIFY_PARAM_free(vpm);
|
||||
if (engine != NULL) /* workaround for Coverity false positive */
|
||||
release_engine(engine);
|
||||
release_engine(engine);
|
||||
|
||||
NCONF_free(conf); /* must not do as long as opt_... variables are used */
|
||||
OSSL_CMP_log_close();
|
||||
|
Loading…
Reference in New Issue
Block a user