Rename DECLARE*STACK_OF to DEFINE*STACK_OF
[openssl.git] / crypto / ts / ts_verify_ctx.c
index 48deb2ed3b1a5208fffa75984fcbaa9dea2dfdfb..35335fa43ade92e537fa951f2297430a5c00c93d 100644 (file)
@@ -66,7 +66,7 @@ TS_VERIFY_CTX *TS_VERIFY_CTX_new(void)
 {
     TS_VERIFY_CTX *ctx = OPENSSL_zalloc(sizeof(*ctx));
 
-    if (!ctx)
+    if (ctx == NULL)
         TSerr(TS_F_TS_VERIFY_CTX_NEW, ERR_R_MALLOC_FAILURE);
     return ctx;
 }