summaryrefslogtreecommitdiffstats
path: root/src/openvpn/ssl_backend.h
diff options
context:
space:
mode:
authorSteffan Karger <steffan@karger.me>2014-01-01 21:10:23 +0100
committerGert Doering <gert@greenie.muc.de>2014-01-03 15:01:49 +0100
commitcb03dca83e37fd65666bf776f39da902fb10acbc (patch)
treeb32d3b950277d6b5bdcd2475eeb440a7e42e40e3 /src/openvpn/ssl_backend.h
parent441be9f4f91a16218d40b401384ead51b5aac0cc (diff)
downloadopenvpn-cb03dca83e37fd65666bf776f39da902fb10acbc.tar.gz
openvpn-cb03dca83e37fd65666bf776f39da902fb10acbc.tar.xz
openvpn-cb03dca83e37fd65666bf776f39da902fb10acbc.zip
If --tls-cipher is supplied, make --show-tls parse the list.
This allows to check the available TLS ciphers for a specific configuration by supplying both --tls-cipher and --show-tls options. Signed-off-by: Steffan Karger <steffan@karger.me> Acked-by: Arne Schwabe <arne@rfc2549.org> Acked-by: Gert Doering <gert@greenie.muc.de> Message-Id: <1388607026-12297-4-git-send-email-steffan@karger.me> URL: http://article.gmane.org/gmane.network.openvpn.devel/8150 Signed-off-by: Gert Doering <gert@greenie.muc.de>
Diffstat (limited to 'src/openvpn/ssl_backend.h')
-rw-r--r--src/openvpn/ssl_backend.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/openvpn/ssl_backend.h b/src/openvpn/ssl_backend.h
index 07cb9ab..54383fe 100644
--- a/src/openvpn/ssl_backend.h
+++ b/src/openvpn/ssl_backend.h
@@ -454,8 +454,10 @@ void print_details (struct key_state_ssl * ks_ssl, const char *prefix);
/*
* Show the TLS ciphers that are available for us to use in the OpenSSL
* library.
+ *
+ * @param - list of allowed TLS cipher, or NULL.
*/
-void show_available_tls_ciphers ();
+void show_available_tls_ciphers (const char *tls_ciphers);
/*
* The OpenSSL library has a notion of preference in TLS ciphers. Higher