Remove /* foo.c */ comments
[oweals/openssl.git] / crypto / pkcs12 / p12_p8e.c
index 552f2f0d6189c2ffc53978f2bf760abc127bd06a..a6255155ba83b82930a797990cb4220052a2d970 100644 (file)
@@ -1,4 +1,3 @@
-/* p12_p8e.c */
 /*
  * Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL project
  * 2001.
@@ -104,7 +103,7 @@ X509_SIG *PKCS8_set0_pbe(const char *pass, int passlen,
         return NULL;
     }
 
-    if (!(p8 = X509_SIG_new())) {
+    if ((p8 = X509_SIG_new()) == NULL) {
         PKCS12err(PKCS12_F_PKCS8_SET0_PBE, ERR_R_MALLOC_FAILURE);
         ASN1_OCTET_STRING_free(enckey);
         return NULL;