aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl/src/ssl_logger.erl
diff options
context:
space:
mode:
authorPéter Dimitrov <[email protected]>2019-01-21 15:14:46 +0100
committerPéter Dimitrov <[email protected]>2019-01-28 09:39:47 +0100
commit51ac471d5bf861a0052543d9b8689f9b0d50ffc9 (patch)
tree35cfcccd01675454d915cb0bb18a43b7279cbd6b /lib/ssl/src/ssl_logger.erl
parent39acdd9f3dd43e6d008b9d3bddeade95e5f206af (diff)
downloadotp-51ac471d5bf861a0052543d9b8689f9b0d50ffc9.tar.gz
otp-51ac471d5bf861a0052543d9b8689f9b0d50ffc9.tar.bz2
otp-51ac471d5bf861a0052543d9b8689f9b0d50ffc9.zip
ssl: Add EncryptedExtensions
Send empty EncryptedExtensions after ServerHello. Update ssl logger. Change-Id: Id57fdb52c360a1125ac1a735ee37c433bfb69a0a
Diffstat (limited to 'lib/ssl/src/ssl_logger.erl')
-rw-r--r--lib/ssl/src/ssl_logger.erl5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/ssl/src/ssl_logger.erl b/lib/ssl/src/ssl_logger.erl
index 39b8c517b6..930077ba3c 100644
--- a/lib/ssl/src/ssl_logger.erl
+++ b/lib/ssl/src/ssl_logger.erl
@@ -170,6 +170,11 @@ parse_handshake(Direction, #certificate_verify_1_3{} = CertificateVerify) ->
Header = io_lib:format("~s Handshake, CertificateVerify",
[header_prefix(Direction)]),
Message = io_lib:format("~p", [?rec_info(certificate_verify_1_3, CertificateVerify)]),
+ {Header, Message};
+parse_handshake(Direction, #encrypted_extensions{} = EncryptedExtensions) ->
+ Header = io_lib:format("~s Handshake, EncryptedExtensions",
+ [header_prefix(Direction)]),
+ Message = io_lib:format("~p", [?rec_info(encrypted_extensions, EncryptedExtensions)]),
{Header, Message}.