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:
Pauli 2020-06-29 08:29:10 +10:00
parent c4d0221405
commit 9283e9bd11
1 changed files with 1 additions and 2 deletions

View File

@ -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();