OpenSSL 1.1.0 headers do not include <openssl/evp.h>, so include it manually to fix the following error:
In file included from ./include/odp_packet_internal.h:28:0, from odp_classification.c:13: ./include/odp_crypto_internal.h:55:5: error: unknown type name ‘EVP_CIPHER_CTX’ EVP_CIPHER_CTX *ctx; ^~~~~~~~~~~~~~ Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> --- platform/linux-generic/include/odp_crypto_internal.h | 1 + 1 file changed, 1 insertion(+) diff --git a/platform/linux-generic/include/odp_crypto_internal.h b/platform/linux-generic/include/odp_crypto_internal.h index c7b893aa..f85b76ea 100644 --- a/platform/linux-generic/include/odp_crypto_internal.h +++ b/platform/linux-generic/include/odp_crypto_internal.h @@ -13,6 +13,7 @@ extern "C" { #include <openssl/des.h> #include <openssl/aes.h> +#include <openssl/evp.h> #define MAX_IV_LEN 64 #define OP_RESULT_MAGIC 0x91919191 -- 2.11.0