mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-01 03:34:39 +02:00
Fix to handle NO_ERROR_STRINGS
case in unit test. The IANA names are disabled when NO_ERROR_STRINGS
is defined.
This commit is contained in:
@@ -1411,7 +1411,12 @@ static void test_client_nofail(void* args, void *cb)
|
||||
cipher = wolfSSL_get_current_cipher(ssl);
|
||||
cipherName1 = wolfSSL_CIPHER_get_name(cipher);
|
||||
cipherName2 = wolfSSL_get_cipher(ssl);
|
||||
#ifdef NO_ERROR_STRINGS
|
||||
AssertNull(cipherName1);
|
||||
AssertNull(cipherName2);
|
||||
#else
|
||||
AssertStrEQ(cipherName1, cipherName2);
|
||||
#endif
|
||||
|
||||
|
||||
if(cb != NULL)((cbType)cb)(ctx, ssl);
|
||||
|
Reference in New Issue
Block a user