Skip to content

Commit

Permalink
Don't run the sigalgs tests over a TLSv1.3 connection
Browse files Browse the repository at this point in the history
We need a new API for TLSv1.3 sig algs

Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from #2160)
  • Loading branch information
mattcaswell committed Dec 30, 2016
1 parent f1b25aa commit d2e491f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/sslapitest.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit d2e491f

Please sign in to comment.