summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2016-12-30 17:20:14 +0000
committerMatt Caswell <matt@openssl.org>2016-12-30 20:59:16 +0000
commitd2e491f225d465b11f18a466bf399d4a899cb50e (patch)
tree9e3e1efebda184fb2a12c437f9ca245768eae0be /test
parentf1b25aaed32f90b3309243d24353bf636c1c786b (diff)
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)
Diffstat (limited to 'test')
-rw-r--r--test/sslapitest.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/sslapitest.c b/test/sslapitest.c
index 51073e604d..d20aec8ebb 100644
--- a/test/sslapitest.c
+++ b/test/sslapitest.c
@@ -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)