Continue standardising malloc style for libcrypto
[openssl.git] / crypto / rsa / rsa_depr.c
index b76781b4ebf1ee944192c702d55a4fba7c69060c..5bd02758565ca333dc4c2b50a94c72542768c40a 100644 (file)
@@ -78,7 +78,7 @@ RSA *RSA_generate_key(int bits, unsigned long e_value,
     RSA *rsa = RSA_new();
     BIGNUM *e = BN_new();
 
-    if (!cb || !rsa || !e)
+    if (cb == NULL || rsa == NULL || e == NULL)
         goto err;
 
     /*