From: Justin Pettit Date: Fri, 6 Mar 2009 08:01:25 +0000 (-0800) Subject: Only build SSL components if build configured with HAVE_OPENSSL. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=80ed4449256224fa1603bb4a991a35010c83a369;p=openvswitch Only build SSL components if build configured with HAVE_OPENSSL. --- diff --git a/vswitchd/bridge.c b/vswitchd/bridge.c index 69cd7b4f..60ba9911 100644 --- a/vswitchd/bridge.c +++ b/vswitchd/bridge.c @@ -281,6 +281,7 @@ config_string_change(const char *key, char **valuep) } } +#ifdef HAVE_OPENSSL static void bridge_configure_ssl(void) { @@ -303,6 +304,7 @@ bridge_configure_ssl(void) cfg_get_bool(0, "ssl.bootstrap-ca-cert")); } } +#endif void bridge_reconfigure(void) @@ -338,8 +340,10 @@ bridge_reconfigure(void) svec_destroy(&old_br); svec_destroy(&new_br); +#ifdef HAVE_OPENSSL /* Configure SSL. */ bridge_configure_ssl(); +#endif /* Reconfigure all bridges. */ LIST_FOR_EACH (br, struct bridge, node, &all_bridges) {