Fix to calc BuildSHA_CertVerify if WOLFSSL_ALLOW_TLS_SHA1. Fix to add check for DTLS to not allow stream ciphers. Removed the RC4 tests from the test-dtls.conf. Added support for using default suites on client side. Switched the arg to “-H”. Cleanup of the example server/client args list. Fixes for build with “--disable-sha”.

This commit is contained in:
David Garske
2017-04-05 11:21:11 -07:00
parent 6a1ae7ee5b
commit eb40175cc6
7 changed files with 92 additions and 143 deletions

View File

@@ -7774,14 +7774,14 @@ int wolfSSL_CTX_set_cipher_list(WOLFSSL_CTX* ctx, const char* list)
XMEMSET(ctx->suites, 0, sizeof(Suites));
}
return (SetCipherList(ctx->suites, list)) ? SSL_SUCCESS : SSL_FAILURE;
return (SetCipherList(ctx, ctx->suites, list)) ? SSL_SUCCESS : SSL_FAILURE;
}
int wolfSSL_set_cipher_list(WOLFSSL* ssl, const char* list)
{
WOLFSSL_ENTER("wolfSSL_set_cipher_list");
return (SetCipherList(ssl->suites, list)) ? SSL_SUCCESS : SSL_FAILURE;
return (SetCipherList(ssl->ctx, ssl->suites, list)) ? SSL_SUCCESS : SSL_FAILURE;
}