Remove /* foo.c */ comments
[openssl.git] / crypto / asn1 / p8_pkey.c
index 0a425cd29d13118d43046f6add1ee27db35e7981..59f1cd167a687712b7e11b8c0beb4cb09c4b247c 100644 (file)
@@ -1,4 +1,3 @@
-/* p8_pkey.c */
 /*
  * Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL project
  * 1999.
@@ -58,7 +57,7 @@
  */
 
 #include <stdio.h>
-#include "cryptlib.h"
+#include "internal/cryptlib.h"
 #include <openssl/asn1t.h>
 #include <openssl/x509.h>
 
@@ -99,7 +98,7 @@ int PKCS8_pkey_set0(PKCS8_PRIV_KEY_INFO *priv, ASN1_OBJECT *aobj,
         int pmtype;
         ASN1_OCTET_STRING *oct;
         oct = ASN1_OCTET_STRING_new();
-        if (!oct)
+        if (oct == NULL)
             return 0;
         oct->data = penc;
         ppenc = &oct->data;