Good catch. For Part 1:

Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org>

But see comments for Part 2. Not clear that part is needed.

On Tue, Feb 7, 2017 at 12:06 PM, Dmitry Eremin-Solenikov
<dmitry.ereminsoleni...@linaro.org> wrote:
> 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
>

Reply via email to