Extensive application of __owur to CT functions that return a boolean
[openssl.git] / apps / genpkey.c
index 905eb1992f23b0a4ad111cbcbf027e9d1d6a29f8..ca5d848266c03a01bf459f84c4bb53667f9020dc 100644 (file)
@@ -317,8 +317,7 @@ int init_gen_str(EVP_PKEY_CTX **pctx,
 
     EVP_PKEY_asn1_get0_info(&pkey_id, NULL, NULL, NULL, NULL, ameth);
 #ifndef OPENSSL_NO_ENGINE
-    if (tmpeng)
-        ENGINE_finish(tmpeng);
+    ENGINE_finish(tmpeng);
 #endif
     ctx = EVP_PKEY_CTX_new_id(pkey_id, e);