From 1b656aa878f8cd667e7700fe52e8a1ca3cb51781 Mon Sep 17 00:00:00 2001 From: Justin Pettit Date: Tue, 5 Jan 2010 00:08:34 -0800 Subject: [PATCH] vconn: Add comment describing usage of VCONN_SSL_LONG_OPTIONS --- lib/vconn-ssl.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/vconn-ssl.h b/lib/vconn-ssl.h index 551e2ebc1..564d30333 100644 --- a/lib/vconn-ssl.h +++ b/lib/vconn-ssl.h @@ -25,6 +25,11 @@ void vconn_ssl_set_certificate_file(const char *file_name); void vconn_ssl_set_ca_cert_file(const char *file_name, bool bootstrap); void vconn_ssl_set_peer_ca_cert_file(const char *file_name); +/* Define the long options for SSL support. + * + * Note that the definition includes a final comma, and therefore a comma + * must not be supplied when using the definition. This is done so that + * compilation succeeds whether or not HAVE_OPENSSL is defined. */ #define VCONN_SSL_LONG_OPTIONS \ {"private-key", required_argument, 0, 'p'}, \ {"certificate", required_argument, 0, 'c'}, \ -- 2.43.0