We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 208c9fd commit 43fe8dbCopy full SHA for 43fe8db
1 file changed
tests/api.c
@@ -24728,6 +24728,14 @@ static int test_wolfSSL_X509_print(void)
24728
/* Will print IP address subject alt name. */
24729
ExpectIntEQ(BIO_get_mem_data(bio, NULL), 3350);
24730
#endif
24731
+#elif defined(IGNORE_NAME_CONSTRAINTS)
24732
+ /* DecodeGeneralName skips iPAddress entries when name constraints
24733
+ * are disabled, so the IP SAN never reaches the print path. */
24734
+ #if defined(NO_ASN_TIME)
24735
+ ExpectIntEQ(BIO_get_mem_data(bio, NULL), 3213);
24736
+ #else
24737
+ ExpectIntEQ(BIO_get_mem_data(bio, NULL), 3328);
24738
+ #endif
24739
#elif defined(NO_ASN_TIME)
24740
/* With NO_ASN_TIME defined, X509_print skips printing Validity.
24741
* iPAddress SAN now always parsed; prints as
0 commit comments