From: Christian Hofstaedtler Date: Fri, 2 Sep 2016 12:06:35 +0000 (+0000) Subject: Fix build with OpenSSL 1.1.0 final X-Git-Tag: dnsdist-1.1.0-beta2~147^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e6fc073faf3b1d9b4da301821da40dff33186057;p=thirdparty%2Fpdns.git Fix build with OpenSSL 1.1.0 final Where aes.h apparently no longer includes opensslv.h. --- diff --git a/pdns/dns_random.cc b/pdns/dns_random.cc index 4f518e024b..e772571b4c 100644 --- a/pdns/dns_random.cc +++ b/pdns/dns_random.cc @@ -23,6 +23,7 @@ #include "config.h" #endif #include +#include #if OPENSSL_VERSION_NUMBER > 0x1000100fL && !defined LIBRESSL_VERSION_NUMBER // Older OpenSSL does not have CRYPTO_ctr128_encrypt. Before 1.1.0 the header // file did not have the necessary extern "C" wrapper. In 1.1.0, AES_ctr128_encrypt