Rename DECLARE*STACK_OF to DEFINE*STACK_OF
[openssl.git] / crypto / cms / cms_kari.c
index 77181bc775271ae0022f93ea0de8549bc45ab041..c6d45a0c2ab29cfd7e6f1f4f5e6ff98a16736786 100644 (file)
@@ -252,7 +252,7 @@ static int cms_kek_cipher(unsigned char **pout, size_t *poutlen,
     if (!EVP_CipherUpdate(&kari->ctx, NULL, &outlen, in, inlen))
         goto err;
     out = OPENSSL_malloc(outlen);
-    if (!out)
+    if (out == NULL)
         goto err;
     if (!EVP_CipherUpdate(&kari->ctx, out, &outlen, in, inlen))
         goto err;