mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-31 11:17:29 +02:00
fix qt_unit_test_failure
add/remove spaces and line-feed to be the same as before
This commit is contained in:
@@ -6089,7 +6089,7 @@ int wolfSSL_X509_print_ex(WOLFSSL_BIO* bio, WOLFSSL_X509* x509,
|
|||||||
char tmp[100];
|
char tmp[100];
|
||||||
|
|
||||||
XSNPRINTF(tmp, sizeof(tmp),
|
XSNPRINTF(tmp, sizeof(tmp),
|
||||||
" X509v3 Basic Constraints: ");
|
"\n X509v3 Basic Constraints: ");
|
||||||
if (x509->basicConstCrit) {
|
if (x509->basicConstCrit) {
|
||||||
XSTRNCAT(tmp, "critical", sizeof(tmp) - XSTRLEN(tmp) - 1);
|
XSTRNCAT(tmp, "critical", sizeof(tmp) - XSTRLEN(tmp) - 1);
|
||||||
}
|
}
|
||||||
|
@@ -51234,9 +51234,9 @@ static void test_wolfSSL_X509_print(void)
|
|||||||
|
|
||||||
#if defined(OPENSSL_ALL) || defined(WOLFSSL_IP_ALT_NAME)
|
#if defined(OPENSSL_ALL) || defined(WOLFSSL_IP_ALT_NAME)
|
||||||
/* Will print IP address subject 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
|
#else
|
||||||
AssertIntEQ(BIO_get_mem_data(bio, NULL), 3307);
|
AssertIntEQ(BIO_get_mem_data(bio, NULL), 3319);
|
||||||
#endif
|
#endif
|
||||||
BIO_free(bio);
|
BIO_free(bio);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user