aboutsummaryrefslogtreecommitdiffstats
path: root/main/openssl/abi-compat-no-freelists.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/openssl/abi-compat-no-freelists.patch')
-rw-r--r--main/openssl/abi-compat-no-freelists.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/main/openssl/abi-compat-no-freelists.patch b/main/openssl/abi-compat-no-freelists.patch
new file mode 100644
index 0000000000..0ead14c0e7
--- /dev/null
+++ b/main/openssl/abi-compat-no-freelists.patch
@@ -0,0 +1,13 @@
+--- openssl-1.0.1g.orig/ssl/ssl.h
++++ openssl-1.0.1g/ssl/ssl.h
+@@ -959,6 +959,10 @@
+ unsigned int freelist_max_len;
+ struct ssl3_buf_freelist_st *wbuf_freelist;
+ struct ssl3_buf_freelist_st *rbuf_freelist;
++#else
++ unsigned int freelist_dummy0;
++ void *freelist_dummy1;
++ void *freelist_dummy2;
+ #endif
+ #ifndef OPENSSL_NO_SRP
+ SRP_CTX srp_ctx; /* ctx for SRP authentication */