From d3a7437a76d864f6aa585e6ae82789cd5455c04d Mon Sep 17 00:00:00 2001 From: xentec Date: Sat, 11 Feb 2017 15:00:43 +0000 Subject: 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 --- .../0003-no-need-for-openssl-in-libasr.patch | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 main/libasr/0003-no-need-for-openssl-in-libasr.patch (limited to 'main/libasr/0003-no-need-for-openssl-in-libasr.patch') 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 +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 /* For OPENSSL_VERSION_NUMBER */ +- + #include "defines.h" + + #include "openbsd-compat.h" +-- +2.11.1 + -- cgit v1.2.3