Skip to content

Instantly share code, notes, and snippets.

@Raboo
Created March 18, 2015 12:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Raboo/6886e425faf9afbe4c61 to your computer and use it in GitHub Desktop.
Save Raboo/6886e425faf9afbe4c61 to your computer and use it in GitHub Desktop.
httperf SSLv3 to TLSv1 patch
--- httperf/src/httperf.c 2015-03-17 15:34:53.523565000 +0100
+++ httperf/src/httperf.c.patch 2015-03-17 15:38:00.748836588 +0100
@@ -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 (TLSv1_client_method ());
if (!ssl_ctx)
{
ERR_print_errors_fp (stderr);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment