enable leak checking for danetest
[openssl.git] / apps / genpkey.c
index 333cea92d26a6317e4c1132a2efa2add01073bc0..01564131a09254de05a3f855928b1628d8c74154 100644 (file)
@@ -269,7 +269,7 @@ static int init_keygen_file(EVP_PKEY_CTX **pctx, const char *file, ENGINE *e)
     }
 
     ctx = EVP_PKEY_CTX_new(pkey, e);
-    if (!ctx)
+    if (ctx == NULL)
         goto err;
     if (EVP_PKEY_keygen_init(ctx) <= 0)
         goto err;