summarylogtreecommitdiffstats
path: root/use-SSLv23_client_method.patch
diff options
context:
space:
mode:
authorSébastien Luttringer2017-03-05 14:25:32 +0100
committerSébastien Luttringer2017-03-05 14:25:32 +0100
commitdbd71541c1e7a78e36ea7481759a31b6f7deac2c (patch)
treea7163fdb064cb6e02ba9a78fbbae7756d8eb7772 /use-SSLv23_client_method.patch
downloadaur-dbd71541c1e7a78e36ea7481759a31b6f7deac2c.tar.gz
Initial commit
moved from community
Diffstat (limited to 'use-SSLv23_client_method.patch')
-rw-r--r--use-SSLv23_client_method.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/use-SSLv23_client_method.patch b/use-SSLv23_client_method.patch
new file mode 100644
index 000000000000..d95c0a16bbe8
--- /dev/null
+++ b/use-SSLv23_client_method.patch
@@ -0,0 +1,13 @@
+diff -uprb httperf-0.9.0.orig/src/httperf.c httperf-0.9.0/src/httperf.c
+--- httperf-0.9.0.orig/src/httperf.c 2007-04-07 10:01:56.000000000 +0300
++++ httperf-0.9.0/src/httperf.c 2016-03-02 21:09:57.376029451 +0200
+@@ -808,7 +808,8 @@ main (int argc, char **argv)
+ SSLeay_add_ssl_algorithms ();
+
+ /* for some strange reason, SSLv23_client_method () doesn't work here */
+- ssl_ctx = SSL_CTX_new (SSLv3_client_method ());
++ /* hopefully the above comment is a lie */
++ ssl_ctx = SSL_CTX_new (SSLv23_client_method ());
+ if (!ssl_ctx)
+ {
+ ERR_print_errors_fp (stderr);