Don't run the sigalgs tests over a TLSv1.3 connection

We need a new API for TLSv1.3 sig algs

Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2160)
This commit is contained in:
Matt Caswell 2016-12-30 17:20:14 +00:00
parent f1b25aaed3
commit d2e491f225
1 changed files with 6 additions and 0 deletions

View File

@ -937,6 +937,12 @@ static int test_set_sigalgs(int idx)
return 0;
}
/*
* TODO(TLS1.3): These APIs cannot set TLSv1.3 sig algs so we just test it
* for TLSv1.2 for now until we add a new API.
*/
SSL_CTX_set_max_proto_version(cctx, TLS1_2_VERSION);
if (testctx) {
int ret;
if (curr->list != NULL)