aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl/src/ssl_tls_dist_proxy.erl
diff options
context:
space:
mode:
authorMagnus Henoch <[email protected]>2016-02-04 14:36:09 +0000
committerMagnus Henoch <[email protected]>2016-03-17 16:48:55 +0000
commitf464ded0ae4a4c203a5d01755be84c3e81042e19 (patch)
treea7b178dc243ba36c239c740e0e15d8be5323a5ed /lib/ssl/src/ssl_tls_dist_proxy.erl
parent4b3a9cbeaa101603b6eaf6d68976e90780d85fc2 (diff)
downloadotp-f464ded0ae4a4c203a5d01755be84c3e81042e19.tar.gz
otp-f464ded0ae4a4c203a5d01755be84c3e81042e19.tar.bz2
otp-f464ded0ae4a4c203a5d01755be84c3e81042e19.zip
TLS distribution: crl_check and crl_cache options
Allow specifying the crl_check and crl_cache options for TLS distribution connections.
Diffstat (limited to 'lib/ssl/src/ssl_tls_dist_proxy.erl')
-rw-r--r--lib/ssl/src/ssl_tls_dist_proxy.erl8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/ssl/src/ssl_tls_dist_proxy.erl b/lib/ssl/src/ssl_tls_dist_proxy.erl
index 33204aa881..3bffc7a862 100644
--- a/lib/ssl/src/ssl_tls_dist_proxy.erl
+++ b/lib/ssl/src/ssl_tls_dist_proxy.erl
@@ -400,6 +400,14 @@ ssl_options(server, ["server_verify_fun", Value|T]) ->
[{verify_fun, verify_fun(Value)} | ssl_options(server,T)];
ssl_options(client, ["client_verify_fun", Value|T]) ->
[{verify_fun, verify_fun(Value)} | ssl_options(client,T)];
+ssl_options(server, ["server_crl_check", Value|T]) ->
+ [{crl_check, atomize(Value)} | ssl_options(server,T)];
+ssl_options(client, ["client_crl_check", Value|T]) ->
+ [{crl_check, atomize(Value)} | ssl_options(client,T)];
+ssl_options(server, ["server_crl_cache", Value|T]) ->
+ [{crl_cache, termify(Value)} | ssl_options(server,T)];
+ssl_options(client, ["client_crl_cache", Value|T]) ->
+ [{crl_cache, termify(Value)} | ssl_options(client,T)];
ssl_options(server, ["server_reuse_sessions", Value|T]) ->
[{reuse_sessions, atomize(Value)} | ssl_options(server,T)];
ssl_options(client, ["client_reuse_sessions", Value|T]) ->