fix qt_unit_test_failure

add/remove spaces and line-feed to be the same as before
This commit is contained in:
Hideki Miyazaki
2022-06-18 10:04:10 +09:00
parent 2834c22ce0
commit b5cac49be9
2 changed files with 7 additions and 7 deletions

View File

@ -6089,7 +6089,7 @@ int wolfSSL_X509_print_ex(WOLFSSL_BIO* bio, WOLFSSL_X509* x509,
char tmp[100];
XSNPRINTF(tmp, sizeof(tmp),
" X509v3 Basic Constraints: ");
"\n X509v3 Basic Constraints: ");
if (x509->basicConstCrit) {
XSTRNCAT(tmp, "critical", sizeof(tmp) - XSTRLEN(tmp) - 1);
}

View File

@ -51234,9 +51234,9 @@ static void test_wolfSSL_X509_print(void)
#if defined(OPENSSL_ALL) || defined(WOLFSSL_IP_ALT_NAME)
/* Will print IP address subject alt name. */
AssertIntEQ(BIO_get_mem_data(bio, NULL), 3329);
AssertIntEQ(BIO_get_mem_data(bio, NULL), 3341);
#else
AssertIntEQ(BIO_get_mem_data(bio, NULL), 3307);
AssertIntEQ(BIO_get_mem_data(bio, NULL), 3319);
#endif
BIO_free(bio);