File: 40_ssl1.1.0.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-- 728 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Author: Thorsten Alteholz <debian@alteholz.de>
Description: patch to build with SSL 1.1.0
Index: httperf-0.9.0/src/core.c
===================================================================
--- httperf-0.9.0.orig/src/core.c	2007-04-07 09:01:56.000000000 +0200
+++ httperf-0.9.0/src/core.c	2017-03-22 19:45:24.606773738 +0100
@@ -805,8 +805,8 @@
 	fprintf (stderr, "core_ssl_connect: server refused all client cipher "
 		 "suites!\n");
       else
-	fprintf (stderr, "core_ssl_connect: cipher=%s, valid=%d, id=%lu\n",
-		 ssl_cipher->name, ssl_cipher->valid, ssl_cipher->id);
+	fprintf (stderr, "core_ssl_connect: cipher=%s, id=%lu\n",
+		 SSL_CIPHER_get_name(ssl_cipher), SSL_CIPHER_get_id(ssl_cipher));
     }
 
   arg.l = 0;