blob: 5b7ec34741046c18a6442681ee938c21ff75876e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- stone.c.orig 2019-02-15 07:01:05 UTC
+++ stone.c
@@ -9382,7 +9382,7 @@ int sslopts(int argc, int argi, char *argv[], SSLOpts
if (isserver) opts->meth = SSLv3_server_method();
else opts->meth = SSLv3_client_method();
#endif
-#ifndef OPENSSL_NO_SSL2
+#if !defined(OPENSSL_NO_SSL2) && OPENSSL_VERSION_NUMBER < 0x10100000L
} else if (!strcmp(argv[argi], "ssl2")) {
if (isserver) opts->meth = SSLv2_server_method();
else opts->meth = SSLv2_client_method();
|