diff options
Diffstat (limited to 'recipes-connectivity/openssl/openssl-qoriq/qoriq/0048-fix-maclen-is-used-uninitialized-warning-on-some-com.patch')
-rw-r--r-- | recipes-connectivity/openssl/openssl-qoriq/qoriq/0048-fix-maclen-is-used-uninitialized-warning-on-some-com.patch | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/recipes-connectivity/openssl/openssl-qoriq/qoriq/0048-fix-maclen-is-used-uninitialized-warning-on-some-com.patch b/recipes-connectivity/openssl/openssl-qoriq/qoriq/0048-fix-maclen-is-used-uninitialized-warning-on-some-com.patch deleted file mode 100644 index 57ff7f11..00000000 --- a/recipes-connectivity/openssl/openssl-qoriq/qoriq/0048-fix-maclen-is-used-uninitialized-warning-on-some-com.patch +++ /dev/null | |||
@@ -1,29 +0,0 @@ | |||
1 | From c79e7a4a818ea86bf6045197173d5c4e243d1f4f 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 | ||
5 | compilers | ||
6 | |||
7 | Signed-off-by: Cristian Stoica <cristian.stoica@nxp.com> | ||
8 | --- | ||
9 | crypto/engine/eng_cryptodev.c | 4 ++++ | ||
10 | 1 file changed, 4 insertions(+) | ||
11 | |||
12 | diff --git a/crypto/engine/eng_cryptodev.c b/crypto/engine/eng_cryptodev.c | ||
13 | index ddd3462..2266b26 100644 | ||
14 | --- a/crypto/engine/eng_cryptodev.c | ||
15 | +++ b/crypto/engine/eng_cryptodev.c | ||
16 | @@ -906,6 +906,10 @@ static int cryptodev_cbc_hmac_sha1_ctrl(EVP_CIPHER_CTX *ctx, int type, | ||
17 | maclen = SHA256_DIGEST_LENGTH; | ||
18 | aad_needs_fix = true; | ||
19 | break; | ||
20 | + default: | ||
21 | + fprintf(stderr, "%s: unsupported NID: %d\n", | ||
22 | + __func__, ctx->cipher->nid); | ||
23 | + return -1; | ||
24 | } | ||
25 | |||
26 | /* Correct length for AAD Length field */ | ||
27 | -- | ||
28 | 2.7.3 | ||
29 | |||