aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl/src/ssl.erl
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2013-06-07 11:55:45 +0200
committerIngela Anderton Andin <[email protected]>2013-06-07 15:41:48 +0200
commit6607299aa3c0887a108f1fd792b79448dff576a4 (patch)
treed3f132adf5872b93edbd3450cd695b279586f850 /lib/ssl/src/ssl.erl
parentb1da47eff2e41013d60dacebbdfa31ce60357d23 (diff)
downloadotp-6607299aa3c0887a108f1fd792b79448dff576a4.tar.gz
otp-6607299aa3c0887a108f1fd792b79448dff576a4.tar.bz2
otp-6607299aa3c0887a108f1fd792b79448dff576a4.zip
ssl: Fix dialyzer warnings
Diffstat (limited to 'lib/ssl/src/ssl.erl')
-rw-r--r--lib/ssl/src/ssl.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ssl/src/ssl.erl b/lib/ssl/src/ssl.erl
index 75c17b14db..0c1e47311d 100644
--- a/lib/ssl/src/ssl.erl
+++ b/lib/ssl/src/ssl.erl
@@ -214,8 +214,8 @@ prf(Socket, Secret, Label, Seed, WantedLength) ->
clear_pem_cache() ->
tls:clear_pem_cache().
-format_error(Reason) when is_list(Reason) ->
- tls:format_error(Reason).
+format_error(Error) ->
+ tls:format_error(Error).
random_bytes(N) ->
tls:random_bytes(N).