Fix from review

This commit is contained in:
Eric Blankenhorn
2026-04-30 13:07:35 -05:00
parent 9ac4a001fa
commit 6689397eec
+8
View File
@@ -26643,6 +26643,14 @@ static int test_wolfSSL_X509_print(void)
/* Will print IP address subject alt name. */
ExpectIntEQ(BIO_get_mem_data(bio, NULL), 3350);
#endif
#elif defined(IGNORE_NAME_CONSTRAINTS)
/* DecodeGeneralName skips iPAddress entries when name constraints
* are disabled, so the IP SAN never reaches the print path. */
#if defined(NO_ASN_TIME)
ExpectIntEQ(BIO_get_mem_data(bio, NULL), 3213);
#else
ExpectIntEQ(BIO_get_mem_data(bio, NULL), 3328);
#endif
#elif defined(NO_ASN_TIME)
/* With NO_ASN_TIME defined, X509_print skips printing Validity.
* iPAddress SAN now always parsed; prints as