Fix from review

This commit is contained in:
Eric Blankenhorn
2026-04-30 07:53:39 -05:00
parent c55b77b382
commit 9ac4a001fa
+9 -3
View File
@@ -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:<unavailable>" (+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:<unavailable>" (+26 bytes) without
* WOLFSSL_IP_ALT_NAME. */
ExpectIntEQ(BIO_get_mem_data(bio, NULL), 3354);
#endif
BIO_free(bio);
bio = NULL;