vconn: Add comment describing usage of VCONN_SSL_LONG_OPTIONS
authorJustin Pettit <jpettit@nicira.com>
Tue, 5 Jan 2010 08:08:34 +0000 (00:08 -0800)
committerJustin Pettit <jpettit@nicira.com>
Tue, 5 Jan 2010 08:08:34 +0000 (00:08 -0800)
lib/vconn-ssl.h

index 551e2eb..564d303 100644 (file)
@@ -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'}, \