From 9ac4a001fadee28bd041b1770567bf25e1fead32 Mon Sep 17 00:00:00 2001 From: Eric Blankenhorn Date: Thu, 30 Apr 2026 07:53:39 -0500 Subject: [PATCH] Fix from review --- tests/api.c | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/tests/api.c b/tests/api.c index f175b287b8..47e8b695dc 100644 --- a/tests/api.c +++ b/tests/api.c @@ -26644,10 +26644,16 @@ static int test_wolfSSL_X509_print(void) ExpectIntEQ(BIO_get_mem_data(bio, NULL), 3350); #endif #elif defined(NO_ASN_TIME) - /* With NO_ASN_TIME defined, X509_print skips printing Validity. */ - ExpectIntEQ(BIO_get_mem_data(bio, NULL), 3213); + /* With NO_ASN_TIME defined, X509_print skips printing Validity. + * iPAddress SAN now always parsed; prints as + * "IP Address:" (+26 bytes) without + * WOLFSSL_IP_ALT_NAME. */ + ExpectIntEQ(BIO_get_mem_data(bio, NULL), 3239); #else - ExpectIntEQ(BIO_get_mem_data(bio, NULL), 3328); + /* iPAddress SAN now always parsed; prints as + * "IP Address:" (+26 bytes) without + * WOLFSSL_IP_ALT_NAME. */ + ExpectIntEQ(BIO_get_mem_data(bio, NULL), 3354); #endif BIO_free(bio); bio = NULL;