GH1183: Fix -unix and -connect, etc., override
authorRich Salz <rsalz@openssl.org>
Wed, 8 Jun 2016 16:22:14 +0000 (12:22 -0400)
committerRich Salz <rsalz@openssl.org>
Fri, 10 Jun 2016 14:45:49 +0000 (10:45 -0400)
commitfe08bd76e2b2ffcba0d24b60feec839fcd985ff7
tree2316d0d25ece4b2bc22fa72e2eab5bd79f6742af
parenta1bce642c9a704943df3a897d3a7345790d45a43
GH1183: Fix -unix and -connect, etc., override

If a user specifies -unix, -6, etc., then the program tries to
use the last one specified.  This is confusing code and leads to
scripting errors.  Instead, allow only one type.

Reviewed-by: Andy Polyakov <appro@openssl.org>
apps/s_client.c