File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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. */
You can’t perform that action at this time.
0 commit comments