From 65bc24d8a4207e3bcb81278174a360efc7d93ad5 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Tue, 12 Mar 2019 13:11:34 +0100 Subject: [PATCH] libcrypto: Add missing includes for modes.h This defines block128_f. Fixes T133. Signed-off-by: Andreas Schneider --- src/libcrypto.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/libcrypto.c b/src/libcrypto.c index a89adb3b..ad743609 100644 --- a/src/libcrypto.c +++ b/src/libcrypto.c @@ -43,6 +43,7 @@ #include #include #include + #include "libcrypto-compat.h" #ifdef HAVE_OPENSSL_AES_H @@ -65,6 +66,10 @@ #include #endif +#ifdef HAVE_OPENSSL_CRYPTO_CTR128_ENCRYPT +#include +#endif + #include "libssh/crypto.h" static int libcrypto_initialized = 0;