[packages/httperf] - new
adamg
adamg at pld-linux.org
Mon Sep 24 06:48:01 CEST 2018
commit 07c2f2b1f3e25ca07c8cd196dc13b3f6a6d62b10
Author: Adam Gołębiowski <adamg at pld-linux.org>
Date: Mon Sep 24 06:47:37 2018 +0200
- new
httperf-openssl-1.1.0.patch | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
---
diff --git a/httperf-openssl-1.1.0.patch b/httperf-openssl-1.1.0.patch
new file mode 100644
index 0000000..8deb20b
--- /dev/null
+++ b/httperf-openssl-1.1.0.patch
@@ -0,0 +1,34 @@
+--- httperf-0.9.0/src/core.c.orig 2018-09-23 21:30:03.369424321 +0200
++++ httperf-0.9.0/src/core.c 2018-09-23 21:32:41.764399943 +0200
+@@ -798,7 +798,7 @@
+
+ if (DBG > 1)
+ {
+- SSL_CIPHER *ssl_cipher;
++ const SSL_CIPHER *ssl_cipher;
+
+ ssl_cipher = SSL_get_current_cipher (s->ssl);
+ if (!ssl_cipher)
+@@ -805,8 +805,9 @@
+ 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=%u\n",
++ SSL_CIPHER_get_name(ssl_cipher),
++ SSL_CIPHER_get_id(ssl_cipher));
+ }
+
+ arg.l = 0;
+--- httperf-0.9.0/src/httperf.c~ 2007-04-07 09:01:56.000000000 +0200
++++ httperf-0.9.0/src/httperf.c 2018-09-23 21:44:27.171352285 +0200
+@@ -808,7 +808,7 @@
+ 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 (TLS_client_method ());
+ if (!ssl_ctx)
+ {
+ ERR_print_errors_fp (stderr);
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/httperf.git/commitdiff/7966906c589bcb247717d37a6dd313047f756e4f
More information about the pld-cvs-commit
mailing list