Skip to content

Commit d379e83

Browse files
Merge pull request #10735 from douzzer/20260618-disable-errorstrings-test_wolfSSL_set_cipher_list_exclusions
20260618-disable-errorstrings-test_wolfSSL_set_cipher_list_exclusions
2 parents 3876746 + 0b20777 commit d379e83

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

tests/api.c

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2392,15 +2392,21 @@ static int test_wolfSSL_set_cipher_list_exclusions(void)
23922392
wolfSSL_free(ssl);
23932393
ssl = NULL;
23942394

2395+
#ifndef NO_ERROR_STRINGS
23952396
/* Report PoC #3: the suite named by its IANA name must also be dropped
2396-
* (classification is by suite bytes, independent of the input name form). */
2397+
* (classification is by suite bytes, independent of the input name form).
2398+
*
2399+
* Note, no IANA name support in NO_ERROR_STRINGS builds (see struct
2400+
* CipherSuiteInfo definition in internal.h).
2401+
*/
23972402
ExpectNotNull(ssl = wolfSSL_new(ctx));
23982403
ExpectIntEQ(wolfSSL_set_cipher_list(ssl,
23992404
"TLS_DH_anon_WITH_AES_128_CBC_SHA:!aNULL"), WOLFSSL_FAILURE);
24002405
ExpectIntEQ(test_suites_contains(ssl, CIPHER_BYTE,
24012406
TLS_DH_anon_WITH_AES_128_CBC_SHA), 0);
24022407
wolfSSL_free(ssl);
24032408
ssl = NULL;
2409+
#endif /* NO_ERROR_STRINGS */
24042410

24052411
#ifdef BUILD_TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
24062412
/* Mixed list: the authenticated suite survives, only ADH is removed. */

0 commit comments

Comments
 (0)