diff options
author | Cristian Stoica <cristian.stoica@nxp.com> | 2016-01-25 13:33:46 +0200 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2016-08-12 11:41:02 -0300 |
commit | 0579a92e1ff03656e1c6089714a3be4244622ef0 (patch) | |
tree | 125a6912e920cd54ac31f2e2e44a57f227f048e6 /recipes-connectivity/openssl/openssl-qoriq/qoriq/0045-cryptodev-change-signature-for-conversion-functions.patch | |
parent | b8e3085e4e9608b301121c7065c84a3e51b94c74 (diff) | |
download | meta-freescale-0579a92e1ff03656e1c6089714a3be4244622ef0.tar.gz |
openssl-qoriq: upgrade to 1.0.2h plus fsl patches
Based on oe-core openssl-1.0.2h, revision:
e49d337 meta: update patch metadata
extended with patches from fsl to enable more features.
Signed-off-by: Cristian Stoica <cristian.stoica@nxp.com>
Diffstat (limited to 'recipes-connectivity/openssl/openssl-qoriq/qoriq/0045-cryptodev-change-signature-for-conversion-functions.patch')
-rw-r--r-- | recipes-connectivity/openssl/openssl-qoriq/qoriq/0045-cryptodev-change-signature-for-conversion-functions.patch | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/recipes-connectivity/openssl/openssl-qoriq/qoriq/0045-cryptodev-change-signature-for-conversion-functions.patch b/recipes-connectivity/openssl/openssl-qoriq/qoriq/0045-cryptodev-change-signature-for-conversion-functions.patch new file mode 100644 index 00000000..11f1a541 --- /dev/null +++ b/recipes-connectivity/openssl/openssl-qoriq/qoriq/0045-cryptodev-change-signature-for-conversion-functions.patch | |||
@@ -0,0 +1,38 @@ | |||
1 | From 528e4965e536d31cdccb11abe5e04db28a1008a8 Mon Sep 17 00:00:00 2001 | ||
2 | From: Cristian Stoica <cristian.stoica@nxp.com> | ||
3 | Date: Tue, 9 Feb 2016 12:11:32 +0200 | ||
4 | Subject: [PATCH 45/48] cryptodev: change signature for conversion functions | ||
5 | |||
6 | These functions are called with const BIGNUMs, so we change the | ||
7 | signatures to avoid compilation warnings | ||
8 | |||
9 | Signed-off-by: Cristian Stoica <cristian.stoica@nxp.com> | ||
10 | --- | ||
11 | crypto/engine/eng_cryptodev.c | 4 ++-- | ||
12 | 1 file changed, 2 insertions(+), 2 deletions(-) | ||
13 | |||
14 | diff --git a/crypto/engine/eng_cryptodev.c b/crypto/engine/eng_cryptodev.c | ||
15 | index e0f9d4b..3024a68 100644 | ||
16 | --- a/crypto/engine/eng_cryptodev.c | ||
17 | +++ b/crypto/engine/eng_cryptodev.c | ||
18 | @@ -145,7 +145,7 @@ const EVP_CIPHER cryptodev_tls12_aes_256_cbc_hmac_sha1; | ||
19 | const EVP_CIPHER cryptodev_tls12_aes_128_cbc_hmac_sha256; | ||
20 | const EVP_CIPHER cryptodev_tls12_aes_256_cbc_hmac_sha256; | ||
21 | |||
22 | -inline int spcf_bn2bin(BIGNUM *bn, unsigned char **bin, int *bin_len) | ||
23 | +inline int spcf_bn2bin(const BIGNUM *bn, unsigned char **bin, int *bin_len) | ||
24 | { | ||
25 | int len; | ||
26 | unsigned char *p; | ||
27 | @@ -167,7 +167,7 @@ inline int spcf_bn2bin(BIGNUM *bn, unsigned char **bin, int *bin_len) | ||
28 | return 0; | ||
29 | } | ||
30 | |||
31 | -inline int spcf_bn2bin_ex(BIGNUM *bn, unsigned char **bin, int *bin_len) | ||
32 | +inline int spcf_bn2bin_ex(const BIGNUM *bn, unsigned char **bin, int *bin_len) | ||
33 | { | ||
34 | int len; | ||
35 | unsigned char *p; | ||
36 | -- | ||
37 | 2.7.0 | ||
38 | |||