From 001592a8a37d1b15bf41f2b05482d82c77e4eef1 Mon Sep 17 00:00:00 2001 From: Hideki Miyazaki Date: Sun, 18 Sep 2022 11:36:01 +0900 Subject: [PATCH] fix qt nightly test --- tests/api.c | 8 ++++---- wolfcrypt/src/evp.c | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/api.c b/tests/api.c index 17544ee36..0fdf2804d 100644 --- a/tests/api.c +++ b/tests/api.c @@ -3951,7 +3951,7 @@ static int test_wolfSSL_EVP_PKEY_print_public(void) AssertIntEQ(EVP_PKEY_print_public(wbio, pkey,3,NULL),1); BIO_gets(wbio, line, sizeof(line)); - strcpy(line1, " Public-Key: (1024 bit)\n"); + strcpy(line1, " RSA Public-Key: (1024 bit)\n"); AssertIntEQ(XSTRNCMP( line, line1, XSTRLEN(line1)), 0); BIO_gets(wbio, line, sizeof(line)); @@ -53375,13 +53375,13 @@ static int test_wolfSSL_X509_print(void) #if defined(OPENSSL_ALL) || defined(WOLFSSL_IP_ALT_NAME) #if defined(WC_DISABLE_RADIX_ZERO_PAD) /* Will print IP address subject alt name. */ - AssertIntEQ(BIO_get_mem_data(bio, NULL), 3345); + AssertIntEQ(BIO_get_mem_data(bio, NULL), 3349); #else /* Will print IP address subject alt name. */ - AssertIntEQ(BIO_get_mem_data(bio, NULL), 3346); + AssertIntEQ(BIO_get_mem_data(bio, NULL), 3350); #endif #else - AssertIntEQ(BIO_get_mem_data(bio, NULL), 3324); + AssertIntEQ(BIO_get_mem_data(bio, NULL), 3328); #endif BIO_free(bio); diff --git a/wolfcrypt/src/evp.c b/wolfcrypt/src/evp.c index 27845bf9f..31021772e 100644 --- a/wolfcrypt/src/evp.c +++ b/wolfcrypt/src/evp.c @@ -9149,7 +9149,7 @@ static int PrintPubKeyRSA(WOLFSSL_BIO* out, const byte* pkey, int pkeySz, idx = 0; XMEMSET(buff, 0, sizeof(buff)); Indent(out, indent); - XSTRNCPY(line, "Public-Key: (", sizeof(line)); + XSTRNCPY(line, "RSA Public-Key: (", sizeof(line)); if (wolfSSL_BIO_write(out, line, (int)XSTRLEN(line)) <= 0) { break; }