提交 d2e491f2 编写于 作者: M Matt Caswell

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

We need a new API for TLSv1.3 sig algs
Reviewed-by: NTim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2160)
上级 f1b25aae
...@@ -937,6 +937,12 @@ static int test_set_sigalgs(int idx) ...@@ -937,6 +937,12 @@ static int test_set_sigalgs(int idx)
return 0; 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) { if (testctx) {
int ret; int ret;
if (curr->list != NULL) if (curr->list != NULL)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册