From f71be0546ce9679f0ac5c94e149ebf68f18f146c Mon Sep 17 00:00:00 2001 From: Hideki Miyazaki Date: Tue, 8 Mar 2022 18:20:30 +0900 Subject: [PATCH] addressed review comments --- tests/api.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/api.c b/tests/api.c index d8c8207a7..b74618c5c 100644 --- a/tests/api.c +++ b/tests/api.c @@ -38799,7 +38799,7 @@ static void test_wolfSSL_BIO_Qt_usecase() * then writes the read data into read-bio. */ SSL_set_bio(ssl, readBio, writeBio); - AssertIntEQ(ret = SSL_connect(ssl), -1); + AssertIntEQ(ret = SSL_connect(ssl), WOLFSSL_FATAL_ERROR); err = SSL_get_error(ssl, ret); /* in this use case, should return WANT READ * so that Qt will read the data from plain packet for next state.