More updates following review feedback
[openssl.git] / crypto / x509 / x_x509.c
index b45944851d4dbad463131591cf5ee26d9419b841..f83ebed175dba9ecc03049367e1b4cf3a882bfbc 100644 (file)
@@ -145,9 +145,6 @@ static int i2d_x509_aux_internal(X509 *a, unsigned char **pp)
     int length, tmplen;
     unsigned char *start = pp != NULL ? *pp : NULL;
 
-    if (!ossl_assert(pp == NULL || *pp != NULL))
-        return -1;
-
     /*
      * This might perturb *pp on error, but fixing that belongs in i2d_X509()
      * not here.  It should be that if a == NULL length is zero, but we check