aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl/src/tls_handshake.erl
diff options
context:
space:
mode:
authorJulien Barbot <[email protected]>2013-10-29 22:29:01 +0100
committerFredrik Gustafsson <[email protected]>2013-11-06 11:12:11 +0100
commitbc8b6bf58c96f8d5a07146ddea145f71fe8c8956 (patch)
treef5d365f8f8ceba7d84b56a50d7a5f9cf06b53d74 /lib/ssl/src/tls_handshake.erl
parent0b13c6cbfff58f928778428deb6862a7744416bb (diff)
downloadotp-bc8b6bf58c96f8d5a07146ddea145f71fe8c8956.tar.gz
otp-bc8b6bf58c96f8d5a07146ddea145f71fe8c8956.tar.bz2
otp-bc8b6bf58c96f8d5a07146ddea145f71fe8c8956.zip
Add SSL Server Name Indication (SNI) client support
See RFC 6066 section 3
Diffstat (limited to 'lib/ssl/src/tls_handshake.erl')
-rw-r--r--lib/ssl/src/tls_handshake.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ssl/src/tls_handshake.erl b/lib/ssl/src/tls_handshake.erl
index ecbca83e10..262f2d929f 100644
--- a/lib/ssl/src/tls_handshake.erl
+++ b/lib/ssl/src/tls_handshake.erl
@@ -56,7 +56,7 @@ client_hello(Host, Port, ConnectionStates,
SecParams = Pending#connection_state.security_parameters,
CipherSuites = ssl_handshake:available_suites(UserSuites, Version),
- Extensions = ssl_handshake:client_hello_extensions(Version, CipherSuites,
+ Extensions = ssl_handshake:client_hello_extensions(Host, Version, CipherSuites,
SslOpts, ConnectionStates, Renegotiation),
Id = ssl_session:client_id({Host, Port, SslOpts}, Cache, CacheCb, OwnCert),