aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl/src/ssl_alert.erl
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2013-02-16 22:38:40 +0100
committerIngela Anderton Andin <[email protected]>2013-02-18 17:14:59 +0100
commitc08d4d683a07e5646cc667f1e2997b506a4ad1c6 (patch)
tree80add784af31547e7deef50c78eda4bcc6b300ad /lib/ssl/src/ssl_alert.erl
parent3a223f53c7c4fa5d2656c8cdc5dae74f20185b04 (diff)
downloadotp-c08d4d683a07e5646cc667f1e2997b506a4ad1c6.tar.gz
otp-c08d4d683a07e5646cc667f1e2997b506a4ad1c6.tar.bz2
otp-c08d4d683a07e5646cc667f1e2997b506a4ad1c6.zip
ssl: Further error handling enhancments
follow up enhancments done in commit e56167dd6ca8d37d26ea7f19933691a3bda41113 Make sure format_error return good strings. Replace confusing legacy atoms with more descriptive atoms.
Diffstat (limited to 'lib/ssl/src/ssl_alert.erl')
-rw-r--r--lib/ssl/src/ssl_alert.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ssl/src/ssl_alert.erl b/lib/ssl/src/ssl_alert.erl
index f94a1136a0..94e95d3cd3 100644
--- a/lib/ssl/src/ssl_alert.erl
+++ b/lib/ssl/src/ssl_alert.erl
@@ -45,7 +45,7 @@
reason_code(#alert{description = ?CLOSE_NOTIFY}, _) ->
closed;
reason_code(#alert{description = Description}, _) ->
- {essl, description_txt(Description)}.
+ {tls_alert, description_txt(Description)}.
%%--------------------------------------------------------------------
-spec alert_txt(#alert{}) -> string().