We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 16b0662 commit 244696bCopy full SHA for 244696b
1 file changed
tests/api.c
@@ -26597,6 +26597,14 @@ static int test_wolfSSL_X509_print(void)
26597
/* Will print IP address subject alt name. */
26598
ExpectIntEQ(BIO_get_mem_data(bio, NULL), 3350);
26599
#endif
26600
+#elif defined(IGNORE_NAME_CONSTRAINTS)
26601
+ /* DecodeGeneralName skips iPAddress entries when name constraints
26602
+ * are disabled, so the IP SAN never reaches the print path. */
26603
+ #if defined(NO_ASN_TIME)
26604
+ ExpectIntEQ(BIO_get_mem_data(bio, NULL), 3213);
26605
+ #else
26606
+ ExpectIntEQ(BIO_get_mem_data(bio, NULL), 3328);
26607
+ #endif
26608
#elif defined(NO_ASN_TIME)
26609
/* With NO_ASN_TIME defined, X509_print skips printing Validity.
26610
* iPAddress SAN now always parsed; prints as
0 commit comments