Browse Source

Add support for specifying the ciphers for the SSL transport

Ali Sabil 13 years ago
parent
commit
9ac784df3b
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/cowboy_ssl_transport.erl

+ 1 - 0
src/cowboy_ssl_transport.erl

@@ -76,6 +76,7 @@ listen(Opts) ->
 		({keyfile, _} = KeyFile, Acc) -> [KeyFile | Acc];
 		({password, _} = Password, Acc) -> [Password | Acc];
 		({cacertfile, _} = CACertFile, Acc) -> [CACertFile | Acc];
+		({ciphers, _} = Ciphers, Acc) -> [Ciphers | Acc];
 		(_, Acc) -> Acc
 	end, ListenOpts0, Opts),
 	ssl:listen(Port, ListenOpts).