Fix to allow anonymous ciphers to work with the new default suite testing.
This commit is contained in:
parent
eb40175cc6
commit
4ff2903b55
@ -1155,7 +1155,7 @@ THREAD_RETURN WOLFSSL_THREAD client_test(void* args)
|
||||
|
||||
if (useAnon) {
|
||||
#ifdef HAVE_ANON
|
||||
if (cipherList == NULL) {
|
||||
if (cipherList == NULL || (cipherList && useDefCipherList)) {
|
||||
wolfSSL_CTX_allow_anon_cipher(ctx);
|
||||
if (wolfSSL_CTX_set_cipher_list(ctx,"ADH-AES128-SHA")
|
||||
!= SSL_SUCCESS) {
|
||||
|
@ -831,7 +831,7 @@ THREAD_RETURN CYASSL_THREAD server_test(void* args)
|
||||
if (useAnon) {
|
||||
#ifdef HAVE_ANON
|
||||
CyaSSL_CTX_allow_anon_cipher(ctx);
|
||||
if (cipherList == NULL) {
|
||||
if (cipherList == NULL || (cipherList && useDefCipherList)) {
|
||||
if (SSL_CTX_set_cipher_list(ctx, "ADH-AES128-SHA") != SSL_SUCCESS)
|
||||
err_sys("server can't set cipher list 4");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user