aboutsummaryrefslogtreecommitdiff
path: root/src/ejabberd_s2s.erl
diff options
context:
space:
mode:
authorEvgeniy Khramtsov <ekhramtsov@process-one.net>2017-05-17 15:42:18 +0300
committerEvgeniy Khramtsov <ekhramtsov@process-one.net>2017-05-17 15:42:18 +0300
commita71065fcda24eae0f91401b0e36f2850fbf79614 (patch)
tree2f31ea2c2809b65ac7b0da0f1e31c1f16290ad38 /src/ejabberd_s2s.erl
parentGet rid of unused variable (diff)
Ciphers should be a binary string
Diffstat (limited to 'src/ejabberd_s2s.erl')
-rw-r--r--src/ejabberd_s2s.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ejabberd_s2s.erl b/src/ejabberd_s2s.erl
index 9e9a94754..d972f5866 100644
--- a/src/ejabberd_s2s.erl
+++ b/src/ejabberd_s2s.erl
@@ -710,7 +710,7 @@ opt_type(route_subdomains) ->
opt_type(s2s_access) ->
fun acl:access_rules_validator/1;
opt_type(s2s_certfile) -> fun misc:try_read_file/1;
-opt_type(s2s_ciphers) -> fun misc:try_read_file/1;
+opt_type(s2s_ciphers) -> fun iolist_to_binary/1;
opt_type(s2s_dhfile) -> fun misc:try_read_file/1;
opt_type(s2s_cafile) -> fun misc:try_read_file/1;
opt_type(s2s_protocol_options) ->