diff options
author | Ingela Anderton Andin <[email protected]> | 2017-06-16 11:11:44 +0200 |
---|---|---|
committer | Ingela Anderton Andin <[email protected]> | 2017-07-07 15:54:19 +0200 |
commit | 972f9121311efcfb50db727ab3e930ebc95ab314 (patch) | |
tree | 3f641b882bab4a570cd5c73739a46de8b2deed56 /lib/ssl/src/dtls_connection.erl | |
parent | b6afef4b4d1bc5705ba1c838e3f546c454de47c8 (diff) | |
download | otp-972f9121311efcfb50db727ab3e930ebc95ab314.tar.gz otp-972f9121311efcfb50db727ab3e930ebc95ab314.tar.bz2 otp-972f9121311efcfb50db727ab3e930ebc95ab314.zip |
ssl: Enhance error logging
Diffstat (limited to 'lib/ssl/src/dtls_connection.erl')
-rw-r--r-- | lib/ssl/src/dtls_connection.erl | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/ssl/src/dtls_connection.erl b/lib/ssl/src/dtls_connection.erl index e8cfbbe2e3..b6aafc3fa4 100644 --- a/lib/ssl/src/dtls_connection.erl +++ b/lib/ssl/src/dtls_connection.erl @@ -48,7 +48,7 @@ select_sni_extension/1]). %% Alert and close handling --export([encode_alert/3,send_alert/2, close/5]). +-export([encode_alert/3,send_alert/2, close/5, protocol_name/0]). %% Data handling @@ -208,6 +208,9 @@ setopts(Transport, Socket, Other) -> getopts(Transport, Socket, Tag) -> dtls_socket:getopts(Transport, Socket, Tag). +protocol_name() -> + "DTLS". + %%==================================================================== %% tls_connection_sup API %%==================================================================== |