From f6e752c0ac2e1ba8bcecc27bc54e30b895e0a1d3 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Sun, 25 Dec 2016 17:55:57 +0100 Subject: [PATCH] 70-test_sslmessages.t: Don't check EXT_SIG_ALGS if TLS 1.2 is disabled Reviewed-by: Matt Caswell (Merged from https://github.com/openssl/openssl/pull/2144) --- test/recipes/70-test_sslmessages.t | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/recipes/70-test_sslmessages.t b/test/recipes/70-test_sslmessages.t index 48a2708d93..9221529827 100755 --- a/test/recipes/70-test_sslmessages.t +++ b/test/recipes/70-test_sslmessages.t @@ -105,8 +105,9 @@ my $proxy = TLSProxy::Proxy->new( [TLSProxy::Message::MT_CLIENT_HELLO, TLSProxy::Message::EXT_EC_POINT_FORMATS, checkhandshake::DEFAULT_EXTENSIONS]), - [TLSProxy::Message::MT_CLIENT_HELLO, TLSProxy::Message::EXT_SIG_ALGS, - checkhandshake::DEFAULT_EXTENSIONS], + (disabled("tls1_2") ? () : + [TLSProxy::Message::MT_CLIENT_HELLO, TLSProxy::Message::EXT_SIG_ALGS, + checkhandshake::DEFAULT_EXTENSIONS]), [TLSProxy::Message::MT_CLIENT_HELLO, TLSProxy::Message::EXT_ALPN, checkhandshake::ALPN_CLI_EXTENSION], [TLSProxy::Message::MT_CLIENT_HELLO, TLSProxy::Message::EXT_SCT, -- GitLab