httperf: unbreak; libressl-2.3 patches from OpenBSD
This commit is contained in:
parent
51bd3ef1ce
commit
4a5da81c0e
|
@ -0,0 +1,13 @@
|
|||
$OpenBSD: patch-src_httperf_c,v 1.1 2015/07/18 17:13:49 jca Exp $
|
||||
--- src/httperf.c.orig Sat Jul 18 11:10:17 2015
|
||||
+++ src/httperf.c Sat Jul 18 11:10:41 2015
|
||||
@@ -807,8 +807,7 @@ main (int argc, char **argv)
|
||||
SSL_load_error_strings ();
|
||||
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);
|
|
@ -2,7 +2,6 @@
|
|||
pkgname=httperf
|
||||
version=0.9.0
|
||||
revision=2
|
||||
broken="/builddir/httperf-0.9.0/src/httperf.c:811: undefined reference to 'SSLv3_client_method'"
|
||||
build_style=gnu-configure
|
||||
makedepends="libressl-devel"
|
||||
short_desc="A tool for measuring web server performance"
|
||||
|
|
Loading…
Reference in New Issue