mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-07-05 17:20:48 +02:00
Fix from review
This commit is contained in:
+9
-3
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user