From a1a627f6099fae6e2eeb28feb5b4b316fa1b11c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A9ter=20Dimitrov?= Date: Mon, 5 Nov 2018 13:39:13 +0100 Subject: ssl: Fix compilation warnings Change-Id: Id92deeebf2cb792a24c0ac1dd2e827fc7135b07c --- lib/ssl/src/tls_handshake_1_3.erl | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'lib/ssl/src') diff --git a/lib/ssl/src/tls_handshake_1_3.erl b/lib/ssl/src/tls_handshake_1_3.erl index e34de9ef34..5c7630cde4 100644 --- a/lib/ssl/src/tls_handshake_1_3.erl +++ b/lib/ssl/src/tls_handshake_1_3.erl @@ -157,21 +157,21 @@ extensions_list(HelloExtensions) -> handle_client_hello(Version, - #client_hello{session_id = SugesstedId, - cipher_suites = CipherSuites, - compression_methods = Compressions, - random = Random, - extensions = HelloExt}, + #client_hello{session_id = _SugesstedId, + cipher_suites = _CipherSuites, + compression_methods = _Compressions, + random = _Random, + extensions = _HelloExt}, #ssl_options{versions = Versions, - signature_algs = SupportedHashSigns, - eccs = SupportedECCs, - honor_ecc_order = ECCOrder} = SslOpts, - {Port, Session0, Cache, CacheCb, ConnectionStates0, Cert, _}, - Renegotiation) -> + signature_algs = _SupportedHashSigns, + eccs = _SupportedECCs, + honor_ecc_order = _ECCOrder} = _SslOpts, + {_Port, _Session0, _Cache, _CacheCb, _ConnectionStates0, _Cert, _}, + _Renegotiation) -> case tls_record:is_acceptable_version(Version, Versions) of true -> %% Get supported_groups - SupportedGroups = maps:get(elliptic_curves, HelloExt, undefined), + %% SupportedGroups = maps:get(elliptic_curves, HelloExt, undefined), %% Get KeyShareClientHello %% Validate supported_groups + KeyShareClientHello -- cgit v1.2.3