diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 1b0bd8f69..7afd3f475 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -57,6 +57,11 @@ 2019-06-16 + + [bdubbs] - Properly initialize a data structure in + OpenSSL to avoid valgrind uninitialized value errors. Fixes + #4491. + [bdubbs] - Update to meson-0.51.0. Fixes #4483. 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 \