File: 20_SSLv23_client_method.patch

package info (click to toggle)
httperf 0.9.0-11
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,320 kB
  • sloc: sh: 8,789; ansic: 6,692; makefile: 29
file content (17 lines) | stat: -rw-r--r-- 674 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Description: use SSLv23_client_method instead of SSLv3_client_method
             (Closes: #804452)
Author: Emanuele Rocca <ema@debian.org>
Last-Update: 2015-11-28
Index: httperf-0.9.0/src/httperf.c
===================================================================
--- httperf-0.9.0.orig/src/httperf.c
+++ httperf-0.9.0/src/httperf.c
@@ -808,7 +808,7 @@ 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 ());
+      ssl_ctx = SSL_CTX_new (SSLv23_client_method ());
       if (!ssl_ctx)
 	{
 	  ERR_print_errors_fp (stderr);