From 6e23916789e3332acda6c178dbc63af98e9a1b5e Mon Sep 17 00:00:00 2001 From: Christian Hofstaedtler Date: Fri, 2 Sep 2016 12:06:35 +0000 Subject: [PATCH] Fix build with OpenSSL 1.1.0 final Where aes.h apparently no longer includes opensslv.h. (cherry picked from commit e6fc073faf3b1d9b4da301821da40dff33186057) --- pdns/dns_random.cc | 1 + 1 file changed, 1 insertion(+) 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 -- 2.47.2