Merge pull request #5262 from miyazakh/qt_unit_failure

This commit is contained in:
Chris Conlon
2022-06-21 16:35:37 -06:00
committed by GitHub
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

@ -51246,9 +51246,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);