Continue standardising malloc style for libcrypto
[openssl.git] / crypto / ts / ts_lib.c
index 0b4ee03608d3d19a7fc6f699d4569dbeba2e9336..fb871d2a0fffe7e5a6c2ea70e6eeb583f18f98f1 100644 (file)
@@ -73,7 +73,7 @@ int TS_ASN1_INTEGER_print_bio(BIO *bio, const ASN1_INTEGER *num)
     char *hex;
 
     num_bn = BN_new();
-    if (!num_bn)
+    if (num_bn == NULL)
         return -1;
     ASN1_INTEGER_to_BN(num, num_bn);
     if ((hex = BN_bn2hex(num_bn))) {