stream-ssl: Improve messages when configuring SSL if it is unsupported.
authorBen Pfaff <blp@nicira.com>
Tue, 10 May 2011 16:17:37 +0000 (09:17 -0700)
committerBen Pfaff <blp@nicira.com>
Tue, 10 May 2011 16:17:37 +0000 (09:17 -0700)
commitbf8f2167fd3107f5513d487a69a6568cf51afd68
treefe1e3fda9d4a8cb105a6e562099ea14bc913e617
parentbe55976089659d082834aae58acd1173f10004e7
stream-ssl: Improve messages when configuring SSL if it is unsupported.

Previously, if --private-key or another option that requires SSL support
was used, but OVS was built without OpenSSL support, then OVS would fail
with an error message that the specified option was not supported.  This
confused users because it made them think that the option had been removed:
    http://openvswitch.org/pipermail/discuss/2011-April/005034.html

This commit improves the error message: OVS will now report that it was
built without SSL support.  This should be make the problem clear to users.

Reported-by: Aaron Rosen <arosen@clemson.edu>
Feature #5325.
12 files changed:
lib/automake.mk
lib/stream-nossl.c [new file with mode: 0644]
lib/stream-ssl.h
ovsdb/ovsdb-client.c
ovsdb/ovsdb-server.c
tests/test-jsonrpc.c
utilities/ovs-controller.c
utilities/ovs-ofctl.c
utilities/ovs-openflowd.c
utilities/ovs-vsctl.c
vswitchd/bridge.c
vswitchd/ovs-vswitchd.c