Chunk 9 of CMP contribution to OpenSSL: CMP client and related tests
[openssl.git] / crypto / cmp / cmp_status.c
index 62322392376a2c89a13a07ab2983e085896a84d2..9192cf5e4d3e738284febf5f392e7ab5e195f4ce 100644 (file)
@@ -75,7 +75,7 @@ int ossl_cmp_pkisi_get_pkifailureinfo(const OSSL_CMP_PKISI *si)
     int i;
     int res = 0;
 
-    if (!ossl_assert(si != NULL && si->failInfo != NULL))
+    if (!ossl_assert(si != NULL))
         return -1;
     for (i = 0; i <= OSSL_CMP_PKIFAILUREINFO_MAX; i++)
         if (ASN1_BIT_STRING_get_bit(si->failInfo, i))