1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-11-29 01:03:57 +03:00

libcrypto: Add missing includes for modes.h

This defines block128_f.

Fixes T133.

Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
Andreas Schneider
2019-03-12 13:11:34 +01:00
parent d8fc65ad71
commit 65bc24d8a4

View File

@@ -43,6 +43,7 @@
#include <openssl/hmac.h> #include <openssl/hmac.h>
#include <openssl/opensslv.h> #include <openssl/opensslv.h>
#include <openssl/rand.h> #include <openssl/rand.h>
#include "libcrypto-compat.h" #include "libcrypto-compat.h"
#ifdef HAVE_OPENSSL_AES_H #ifdef HAVE_OPENSSL_AES_H
@@ -65,6 +66,10 @@
#include <openssl/kdf.h> #include <openssl/kdf.h>
#endif #endif
#ifdef HAVE_OPENSSL_CRYPTO_CTR128_ENCRYPT
#include <openssl/modes.h>
#endif
#include "libssh/crypto.h" #include "libssh/crypto.h"
static int libcrypto_initialized = 0; static int libcrypto_initialized = 0;