1 From 116bd4f6f1ee5acdb997d414902d9646b24df1be Mon Sep 17 00:00:00 2001
2 From: Cristian Stoica <cristian.stoica@nxp.com>
3 Date: Wed, 6 Apr 2016 15:22:58 +0300
4 Subject: [PATCH 48/48] fix 'maclen is used uninitialized' warning on some
7 Signed-off-by: Cristian Stoica <cristian.stoica@nxp.com>
9 crypto/engine/eng_cryptodev.c | 4 ++++
10 1 file changed, 4 insertions(+)
12 diff --git a/crypto/engine/eng_cryptodev.c b/crypto/engine/eng_cryptodev.c
13 index 539be62..35b71b0 100644
14 --- a/crypto/engine/eng_cryptodev.c
15 +++ b/crypto/engine/eng_cryptodev.c
16 @@ -905,6 +905,10 @@ static int cryptodev_cbc_hmac_sha1_ctrl(EVP_CIPHER_CTX *ctx, int type,
17 maclen = SHA256_DIGEST_LENGTH;
21 + fprintf(stderr, "%s: unsupported NID: %d\n",
22 + __func__, ctx->cipher->nid);
26 /* Correct length for AAD Length field */