Skip to content

Instantly share code, notes, and snippets.

@tersmitten
Last active August 29, 2016 09:55
Show Gist options
  • Save tersmitten/dc56c312957056589488 to your computer and use it in GitHub Desktop.
Save tersmitten/dc56c312957056589488 to your computer and use it in GitHub Desktop.
--- sslcls.c.orig 2015-01-24 11:15:22.000000000 +0100
+++ sslcls.c 2016-08-29 11:47:26.960302953 +0200
@@ -55,6 +55,7 @@
}
#endif
+#if HAVE_SSLv3_client_method
const SSL_METHOD *sycSSLv3_client_method(void) {
const SSL_METHOD *result;
Debug("SSLv3_client_method()");
@@ -62,7 +63,9 @@
Debug1("SSLv3_client_method() -> %p", result);
return result;
}
+#endif
+#if HAVE_SSLv3_server_method
const SSL_METHOD *sycSSLv3_server_method(void) {
const SSL_METHOD *result;
Debug("SSLv3_server_method()");
@@ -70,6 +73,7 @@
Debug1("SSLv3_server_method() -> %p", result);
return result;
}
+#endif
const SSL_METHOD *sycSSLv23_client_method(void) {
const SSL_METHOD *result;
@tersmitten
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment