diff options
author | Chunrong Guo <chunrong.guo@nxp.com> | 2017-04-18 12:18:44 +0800 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2017-05-02 17:54:58 -0300 |
commit | cfb3ddaaaa78204ef5281c8627eed08f4f7e3f09 (patch) | |
tree | eed52994eb5c9abb844439aefa9faa2328c6b451 /recipes-connectivity/openssl/openssl-qoriq/qoriq/0031-cryptodev-remove-not-used-local-variables.patch | |
parent | 6e3cc428cfe8c50f38e37161e52a0e63d1f13367 (diff) | |
download | meta-freescale-cfb3ddaaaa78204ef5281c8627eed08f4f7e3f09.tar.gz |
openssl-qoriq: upgrade to 1.0.2k
Signed-off-by: Chunrong Guo <B40290@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'recipes-connectivity/openssl/openssl-qoriq/qoriq/0031-cryptodev-remove-not-used-local-variables.patch')
-rw-r--r-- | recipes-connectivity/openssl/openssl-qoriq/qoriq/0031-cryptodev-remove-not-used-local-variables.patch | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/recipes-connectivity/openssl/openssl-qoriq/qoriq/0031-cryptodev-remove-not-used-local-variables.patch b/recipes-connectivity/openssl/openssl-qoriq/qoriq/0031-cryptodev-remove-not-used-local-variables.patch index fc23e0c1..d7af9cbd 100644 --- a/recipes-connectivity/openssl/openssl-qoriq/qoriq/0031-cryptodev-remove-not-used-local-variables.patch +++ b/recipes-connectivity/openssl/openssl-qoriq/qoriq/0031-cryptodev-remove-not-used-local-variables.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 8cd09ffdfd7d9c25605401f1c0947b1b4acc6e57 Mon Sep 17 00:00:00 2001 | 1 | From 9faaca759390bba5aeeb049d31f74806e78137e1 Mon Sep 17 00:00:00 2001 |
2 | From: Cristian Stoica <cristian.stoica@nxp.com> | 2 | From: Cristian Stoica <cristian.stoica@nxp.com> |
3 | Date: Mon, 8 Feb 2016 16:00:22 +0200 | 3 | Date: Mon, 8 Feb 2016 16:00:22 +0200 |
4 | Subject: [PATCH 31/48] cryptodev: remove not used local variables | 4 | Subject: [PATCH 31/48] cryptodev: remove not used local variables |
@@ -9,10 +9,10 @@ Signed-off-by: Cristian Stoica <cristian.stoica@nxp.com> | |||
9 | 1 file changed, 1 insertion(+), 5 deletions(-) | 9 | 1 file changed, 1 insertion(+), 5 deletions(-) |
10 | 10 | ||
11 | diff --git a/crypto/engine/eng_cryptodev.c b/crypto/engine/eng_cryptodev.c | 11 | diff --git a/crypto/engine/eng_cryptodev.c b/crypto/engine/eng_cryptodev.c |
12 | index 30713e5..2734500 100644 | 12 | index 163a37d..b13bf8c 100644 |
13 | --- a/crypto/engine/eng_cryptodev.c | 13 | --- a/crypto/engine/eng_cryptodev.c |
14 | +++ b/crypto/engine/eng_cryptodev.c | 14 | +++ b/crypto/engine/eng_cryptodev.c |
15 | @@ -1634,7 +1634,6 @@ static int cryptodev_digest_final(EVP_MD_CTX *ctx, unsigned char *md) | 15 | @@ -1635,7 +1635,6 @@ static int cryptodev_digest_final(EVP_MD_CTX *ctx, unsigned char *md) |
16 | static int cryptodev_digest_cleanup(EVP_MD_CTX *ctx) | 16 | static int cryptodev_digest_cleanup(EVP_MD_CTX *ctx) |
17 | { | 17 | { |
18 | struct dev_crypto_state *state = ctx->md_data; | 18 | struct dev_crypto_state *state = ctx->md_data; |
@@ -20,7 +20,7 @@ index 30713e5..2734500 100644 | |||
20 | 20 | ||
21 | if (state == NULL) { | 21 | if (state == NULL) { |
22 | return 0; | 22 | return 0; |
23 | @@ -3939,7 +3938,6 @@ static int cryptodev_dh_keygen(DH *dh) | 23 | @@ -3952,7 +3951,6 @@ static int cryptodev_dh_keygen(DH *dh) |
24 | int ret = 1, q_len = 0; | 24 | int ret = 1, q_len = 0; |
25 | unsigned char *q = NULL, *g = NULL, *s = NULL, *w = NULL; | 25 | unsigned char *q = NULL, *g = NULL, *s = NULL, *w = NULL; |
26 | BIGNUM *pub_key = NULL, *priv_key = NULL; | 26 | BIGNUM *pub_key = NULL, *priv_key = NULL; |
@@ -28,7 +28,7 @@ index 30713e5..2734500 100644 | |||
28 | 28 | ||
29 | if (dh->priv_key) | 29 | if (dh->priv_key) |
30 | priv_key = dh->priv_key; | 30 | priv_key = dh->priv_key; |
31 | @@ -4061,11 +4059,9 @@ cryptodev_dh_compute_key_async(unsigned char *key, const BIGNUM *pub_key, | 31 | @@ -4074,11 +4072,9 @@ cryptodev_dh_compute_key_async(unsigned char *key, const BIGNUM *pub_key, |
32 | { | 32 | { |
33 | struct crypt_kop *kop = malloc(sizeof(struct crypt_kop)); | 33 | struct crypt_kop *kop = malloc(sizeof(struct crypt_kop)); |
34 | int ret = 1; | 34 | int ret = 1; |
@@ -42,5 +42,5 @@ index 30713e5..2734500 100644 | |||
42 | kop->crk_op = CRK_DH_COMPUTE_KEY; | 42 | kop->crk_op = CRK_DH_COMPUTE_KEY; |
43 | /* inputs: dh->priv_key pub_key dh->p key */ | 43 | /* inputs: dh->priv_key pub_key dh->p key */ |
44 | -- | 44 | -- |
45 | 2.7.0 | 45 | 2.7.3 |
46 | 46 | ||