From 918e500203bf553107068a43b0675a69e321ee3d Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Sat, 29 Jun 2019 23:44:33 +0000 Subject: Properly initialize a data structure in OpenSSL to avoid valgrind uninitialized value errors. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11627 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/openssl.xml | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'chapter06/openssl.xml') diff --git a/chapter06/openssl.xml b/chapter06/openssl.xml index 34e4ade29..0bb65387a 100644 --- a/chapter06/openssl.xml +++ b/chapter06/openssl.xml @@ -43,6 +43,11 @@ Installation of OpenSSL + First, fix a problem identified upstream: + +sed -i '/\} data/s/ =.*$/;\n memset(\&data, 0, sizeof(data));/' \ + crypto/rand/rand_lib.c + Prepare OpenSSL for compilation: ./config --prefix=/usr \ -- cgit v1.2.3-54-g00ecf