aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl/src/ssl_handshake.erl
diff options
context:
space:
mode:
authorPéter Dimitrov <[email protected]>2018-10-03 16:33:31 +0200
committerPéter Dimitrov <[email protected]>2018-10-15 10:21:23 +0200
commit5b472d1984e99227f7f72fda25ee98e1f9e19d02 (patch)
tree0494d4fb530b13059d08e1fa0b91026c310f3458 /lib/ssl/src/ssl_handshake.erl
parentd5ffd9ddd6edd21e190bb61547c835892e917a6c (diff)
downloadotp-5b472d1984e99227f7f72fda25ee98e1f9e19d02.tar.gz
otp-5b472d1984e99227f7f72fda25ee98e1f9e19d02.tar.bz2
otp-5b472d1984e99227f7f72fda25ee98e1f9e19d02.zip
ssl: Update default for option signature_algs_cert
The option 'signature_algs_cert' is not set by default. Change-Id: Ib87cedc5e48b3ac7a36a30bc7caa08d3193f12fa
Diffstat (limited to 'lib/ssl/src/ssl_handshake.erl')
-rw-r--r--lib/ssl/src/ssl_handshake.erl9
1 files changed, 7 insertions, 2 deletions
diff --git a/lib/ssl/src/ssl_handshake.erl b/lib/ssl/src/ssl_handshake.erl
index a42df453e0..1e57dfd710 100644
--- a/lib/ssl/src/ssl_handshake.erl
+++ b/lib/ssl/src/ssl_handshake.erl
@@ -1015,12 +1015,17 @@ client_hello_extensions(Version, CipherSuites,
{3,4} ->
HelloExtensions#{client_hello_versions =>
#client_hello_versions{versions = Versions},
- signature_algs_cert =>
- #signature_scheme_list{signature_scheme_list = SignatureSchemes}};
+ signature_algs_cert =>
+ signature_scheme_list(SignatureSchemes)};
_Else ->
HelloExtensions
end.
+signature_scheme_list(undefined) ->
+ undefined;
+signature_scheme_list(SignatureSchemes) ->
+ #signature_scheme_list{signature_scheme_list = SignatureSchemes}.
+
handle_client_hello_extensions(RecordCB, Random, ClientCipherSuites,
Exts, Version,
#ssl_options{secure_renegotiate = SecureRenegotation,