diff options
Diffstat (limited to 'recipes-connectivity/openssl/openssl-qoriq/qoriq/0034-cryptodev-fix-incorrect-function-signature.patch')
-rw-r--r-- | recipes-connectivity/openssl/openssl-qoriq/qoriq/0034-cryptodev-fix-incorrect-function-signature.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/recipes-connectivity/openssl/openssl-qoriq/qoriq/0034-cryptodev-fix-incorrect-function-signature.patch b/recipes-connectivity/openssl/openssl-qoriq/qoriq/0034-cryptodev-fix-incorrect-function-signature.patch new file mode 100644 index 00000000..84268c58 --- /dev/null +++ b/recipes-connectivity/openssl/openssl-qoriq/qoriq/0034-cryptodev-fix-incorrect-function-signature.patch | |||
@@ -0,0 +1,26 @@ | |||
1 | From 7012cf33a00618749319b1903f48ee3a35f5887b Mon Sep 17 00:00:00 2001 | ||
2 | From: Cristian Stoica <cristian.stoica@nxp.com> | ||
3 | Date: Mon, 8 Feb 2016 16:12:54 +0200 | ||
4 | Subject: [PATCH 34/48] cryptodev: fix incorrect function signature | ||
5 | |||
6 | Signed-off-by: Cristian Stoica <cristian.stoica@nxp.com> | ||
7 | --- | ||
8 | crypto/engine/eng_cryptodev.c | 2 +- | ||
9 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
10 | |||
11 | diff --git a/crypto/engine/eng_cryptodev.c b/crypto/engine/eng_cryptodev.c | ||
12 | index 5a68c76..cec6938 100644 | ||
13 | --- a/crypto/engine/eng_cryptodev.c | ||
14 | +++ b/crypto/engine/eng_cryptodev.c | ||
15 | @@ -3148,7 +3148,7 @@ static ECDSA_SIG *cryptodev_ecdsa_do_sign(const unsigned char *dgst, | ||
16 | } | ||
17 | |||
18 | static int cryptodev_ecdsa_verify(const unsigned char *dgst, int dgst_len, | ||
19 | - ECDSA_SIG *sig, EC_KEY *eckey) | ||
20 | + const ECDSA_SIG *sig, EC_KEY *eckey) | ||
21 | { | ||
22 | BIGNUM *m = NULL, *p = NULL, *a = NULL, *b = NULL; | ||
23 | BIGNUM *x = NULL, *y = NULL, *w_x = NULL, *w_y = NULL; | ||
24 | -- | ||
25 | 2.7.0 | ||
26 | |||