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;