Make no-ssl3 no-ssl2 do more sensible things.

(cherry picked from commit 7ae6a4b659)
This commit is contained in:
Dr. Stephen Henson
2014-06-29 03:02:51 +01:00
parent 14999bcc59
commit d6d324374e
3 changed files with 5 additions and 11 deletions

View File

@@ -96,13 +96,7 @@ int MAIN(int argc, char **argv)
char buf[512];
BIO *STDout=NULL;
#if !defined(OPENSSL_NO_SSL2) && !defined(OPENSSL_NO_SSL3)
meth=SSLv23_server_method();
#elif !defined(OPENSSL_NO_SSL3)
meth=SSLv3_server_method();
#elif !defined(OPENSSL_NO_SSL2)
meth=SSLv2_server_method();
#endif
apps_startup();