Fix VMS/openssl_{startup,shutddown}.com.in
[openssl.git] / crypto / asn1 / a_mbstr.c
index 46100c32cbd7098a81413e556f45caaaac39d0e3..8c38e19963b83a5fb9ef4e9a3cbf7b7699e1160d 100644 (file)
@@ -1,4 +1,3 @@
-/* a_mbstr.c */
 /*
  * Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL project
  * 1999.
@@ -200,7 +199,7 @@ int ASN1_mbstring_ncopy(ASN1_STRING **out, const unsigned char *in, int len,
     } else {
         free_out = 1;
         dest = ASN1_STRING_type_new(str_type);
-        if (!dest) {
+        if (dest == NULL) {
             ASN1err(ASN1_F_ASN1_MBSTRING_NCOPY, ERR_R_MALLOC_FAILURE);
             return -1;
         }