aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorPéter Dimitrov <[email protected]>2018-11-05 13:39:13 +0100
committerPéter Dimitrov <[email protected]>2018-11-16 14:32:14 +0100
commita1a627f6099fae6e2eeb28feb5b4b316fa1b11c9 (patch)
tree9d79cd605a8ee59ff30b84b58d0fe11f300ba0fb /lib
parentff3fa2ff25499e42daf0d6f7a810e9c251916e39 (diff)
downloadotp-a1a627f6099fae6e2eeb28feb5b4b316fa1b11c9.tar.gz
otp-a1a627f6099fae6e2eeb28feb5b4b316fa1b11c9.tar.bz2
otp-a1a627f6099fae6e2eeb28feb5b4b316fa1b11c9.zip
ssl: Fix compilation warnings
Change-Id: Id92deeebf2cb792a24c0ac1dd2e827fc7135b07c
Diffstat (limited to 'lib')
-rw-r--r--lib/ssl/src/tls_handshake_1_3.erl22
1 files changed, 11 insertions, 11 deletions
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