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:
@@ -26643,6 +26643,14 @@ static int test_wolfSSL_X509_print(void)
|
||||
/* Will print IP address subject alt name. */
|
||||
ExpectIntEQ(BIO_get_mem_data(bio, NULL), 3350);
|
||||
#endif
|
||||
#elif defined(IGNORE_NAME_CONSTRAINTS)
|
||||
/* DecodeGeneralName skips iPAddress entries when name constraints
|
||||
* are disabled, so the IP SAN never reaches the print path. */
|
||||
#if defined(NO_ASN_TIME)
|
||||
ExpectIntEQ(BIO_get_mem_data(bio, NULL), 3213);
|
||||
#else
|
||||
ExpectIntEQ(BIO_get_mem_data(bio, NULL), 3328);
|
||||
#endif
|
||||
#elif defined(NO_ASN_TIME)
|
||||
/* With NO_ASN_TIME defined, X509_print skips printing Validity.
|
||||
* iPAddress SAN now always parsed; prints as
|
||||
|
||||
Reference in New Issue
Block a user