summaryrefslogtreecommitdiffstats
path: root/patches/openssl-1.0.2q/0008-Disable-the-freelist.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/openssl-1.0.2q/0008-Disable-the-freelist.patch')
-rw-r--r--patches/openssl-1.0.2q/0008-Disable-the-freelist.patch41
1 files changed, 0 insertions, 41 deletions
diff --git a/patches/openssl-1.0.2q/0008-Disable-the-freelist.patch b/patches/openssl-1.0.2q/0008-Disable-the-freelist.patch
deleted file mode 100644
index f1e959ce8..000000000
--- a/patches/openssl-1.0.2q/0008-Disable-the-freelist.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-From: Kurt Roeckx <kurt@roeckx.be>
-Date: Tue, 12 Dec 2017 23:35:24 +0100
-Subject: [PATCH] Disable the freelist
-
-We don't define OPENSSL_NO_BUF_FREELISTS globally sinc it changes structures and
-would break the ABI. Instead we just do it in the .c files that try to do
-something with it.
-
-Imported from openssl1.0_1.0.2q-2.debian.tar.xz
-
-Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
----
- ssl/s3_both.c | 1 +
- ssl/ssl_lib.c | 2 ++
- 2 files changed, 3 insertions(+)
-
-diff --git a/ssl/s3_both.c b/ssl/s3_both.c
-index 054ded1c9903..bb0085cf2ec0 100644
---- a/ssl/s3_both.c
-+++ b/ssl/s3_both.c
-@@ -584,6 +584,7 @@ int ssl_verify_alarm_type(long type)
- return (al);
- }
-
-+#define OPENSSL_NO_BUF_FREELISTS
- #ifndef OPENSSL_NO_BUF_FREELISTS
- /*-
- * On some platforms, malloc() performance is bad enough that you can't just
-diff --git a/ssl/ssl_lib.c b/ssl/ssl_lib.c
-index cfcfe76b9ce1..5c108288b14b 100644
---- a/ssl/ssl_lib.c
-+++ b/ssl/ssl_lib.c
-@@ -162,6 +162,8 @@
-
- const char *SSL_version_str = OPENSSL_VERSION_TEXT;
-
-+#define OPENSSL_NO_BUF_FREELISTS
-+
- SSL3_ENC_METHOD ssl3_undef_enc_method = {
- /*
- * evil casts, but these functions are only called if there's a library