]> granicus.if.org Git - ejabberd/commitdiff
Add s2s_dhfile option to configuration validator
authorHolger Weiss <holger@zedat.fu-berlin.de>
Tue, 16 Jun 2015 13:18:34 +0000 (15:18 +0200)
committerHolger Weiss <holger@zedat.fu-berlin.de>
Tue, 16 Jun 2015 13:18:34 +0000 (15:18 +0200)
src/ejabberd_s2s_in.erl
src/ejabberd_s2s_out.erl

index d890f0bce59c6677bb477cf40915ba4caa1a4ef3..be5532cd0dd64d8da71c6d5c9768979f0fca0b17 100644 (file)
@@ -722,6 +722,7 @@ opt_type(max_fsm_queue) ->
     fun (I) when is_integer(I), I > 0 -> I end;
 opt_type(s2s_certfile) -> fun iolist_to_binary/1;
 opt_type(s2s_ciphers) -> fun iolist_to_binary/1;
+opt_type(s2s_dhfile) -> fun iolist_to_binary/1;
 opt_type(s2s_protocol_options) ->
     fun (Options) ->
            [_ | O] = lists:foldl(fun (X, Acc) -> X ++ Acc end, [],
index 7abc817755ad1bc0101a2b49ef67fa1a1cfc6d48..b512232db3b9625c5b2caa6988fe623e791fc69e 100644 (file)
@@ -1381,6 +1381,7 @@ opt_type(outgoing_s2s_timeout) ->
     end;
 opt_type(s2s_certfile) -> fun iolist_to_binary/1;
 opt_type(s2s_ciphers) -> fun iolist_to_binary/1;
+opt_type(s2s_dhfile) -> fun iolist_to_binary/1;
 opt_type(s2s_dns_retries) ->
     fun (I) when is_integer(I), I >= 0 -> I end;
 opt_type(s2s_dns_timeout) ->