tags 622076 patch
thanks
Here's the patch that was applied in Ubuntu:
https://launchpad.net/ubuntu/+source/hammerhead/2.1.3-9.1ubuntu1
diff -u hammerhead-2.1.3/src/connection.h hammerhead-2.1.3/src/connection.h
--- hammerhead-2.1.3/src/connection.h
+++ hammerhead-2.1.3/src/connection.h
@@ -42,7 +42,7 @@
class SSL_Connection : public Connection {
- SSL_METHOD *method;
+ const SSL_METHOD *method;
X509 *server_certificate;
SSL_CTX *context;
SSL *ssl;
only in patch2:
unchanged:
--- hammerhead-2.1.3.orig/src/connection.cc
+++ hammerhead-2.1.3/src/connection.cc
@@ -301,7 +301,7 @@
SSLeay_add_ssl_algorithms();
/* construct the context for secure connections */
- method = SSLv2_client_method();
+ method = SSLv3_client_method();
context = SSL_CTX_new(method);
ssl = SSL_new(context);
}
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]