diff options
author | xentec <xentec@aix0.eu> | 2017-02-11 15:00:43 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2017-02-13 18:28:14 +0100 |
commit | d3a7437a76d864f6aa585e6ae82789cd5455c04d (patch) | |
tree | 9bbee0eb0f8cd69fc196b66ddbb376331d440753 /main/libasr/0003-no-need-for-openssl-in-libasr.patch | |
parent | 0850971f05a1ea0ff352c1f83fa68d1b4055ea68 (diff) | |
download | aports-d3a7437a76d864f6aa585e6ae82789cd5455c04d.tar.bz2 aports-d3a7437a76d864f6aa585e6ae82789cd5455c04d.tar.xz |
main/libasr: replace res_randomid() impl. with call to arc4random() from libcrypto
Fixes recursive call loop which causes a stack overflow in opensmtpd.
ref #6578
Diffstat (limited to 'main/libasr/0003-no-need-for-openssl-in-libasr.patch')
-rw-r--r-- | main/libasr/0003-no-need-for-openssl-in-libasr.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/main/libasr/0003-no-need-for-openssl-in-libasr.patch b/main/libasr/0003-no-need-for-openssl-in-libasr.patch new file mode 100644 index 0000000000..1e91c66003 --- /dev/null +++ b/main/libasr/0003-no-need-for-openssl-in-libasr.patch @@ -0,0 +1,25 @@ +From a392a940bd0c83393fd76eabe08b1743b396b095 Mon Sep 17 00:00:00 2001 +From: Gilles Chehade <gilles@poolp.org> +Date: Sat, 13 Feb 2016 14:03:02 +0100 +Subject: [PATCH 3/3] no need for openssl in libasr... + +--- + openbsd-compat/includes.h | 2 -- + 1 file changed, 2 deletions(-) + +diff --git a/openbsd-compat/includes.h b/openbsd-compat/includes.h +index bc3d46b..5b680d3 100644 +--- a/openbsd-compat/includes.h ++++ b/openbsd-compat/includes.h +@@ -70,8 +70,6 @@ + #endif + /* end of chl*/ + +-#include <openssl/opensslv.h> /* For OPENSSL_VERSION_NUMBER */ +- + #include "defines.h" + + #include "openbsd-compat.h" +-- +2.11.1 + |