Skip to content

Commit 208c9fd

Browse files
committed
Fix from review
1 parent a218760 commit 208c9fd

1 file changed

Lines changed: 9 additions & 3 deletions

File tree

tests/api.c

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24729,10 +24729,16 @@ static int test_wolfSSL_X509_print(void)
2472924729
ExpectIntEQ(BIO_get_mem_data(bio, NULL), 3350);
2473024730
#endif
2473124731
#elif defined(NO_ASN_TIME)
24732-
/* With NO_ASN_TIME defined, X509_print skips printing Validity. */
24733-
ExpectIntEQ(BIO_get_mem_data(bio, NULL), 3213);
24732+
/* With NO_ASN_TIME defined, X509_print skips printing Validity.
24733+
* iPAddress SAN now always parsed; prints as
24734+
* "IP Address:<unavailable>" (+26 bytes) without
24735+
* WOLFSSL_IP_ALT_NAME. */
24736+
ExpectIntEQ(BIO_get_mem_data(bio, NULL), 3239);
2473424737
#else
24735-
ExpectIntEQ(BIO_get_mem_data(bio, NULL), 3328);
24738+
/* iPAddress SAN now always parsed; prints as
24739+
* "IP Address:<unavailable>" (+26 bytes) without
24740+
* WOLFSSL_IP_ALT_NAME. */
24741+
ExpectIntEQ(BIO_get_mem_data(bio, NULL), 3354);
2473624742
#endif
2473724743
BIO_free(bio);
2473824744
bio = NULL;

0 commit comments

Comments
 (0)