diff options
author | Chunrong Guo <chunrong.guo@nxp.com> | 2017-06-20 11:27:02 +0800 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2017-06-28 15:21:07 -0300 |
commit | 1050a80113a9dd72c0b0385380c3277070c5436c (patch) | |
tree | d6b292fe350c0f694cc882bbd0730caed129890d /recipes-connectivity | |
parent | d64f4d6935df0d77c22244b84af37f5361c9949b (diff) | |
download | meta-freescale-1050a80113a9dd72c0b0385380c3277070c5436c.tar.gz |
openssl-qoriq: s/inline/static/ to fix gcc7.1 issue
ix the following error:
| ../libcrypto.so: undefined reference to `spcf_bn2bin'
| ../libcrypto.so: undefined reference to `spcf_bn2bin_ex'
| collect2: error: ld returned 1 exit status
| make[2]: *** [link_app.gnu] Error 1
Change-Id: I24be02ccd7f587d6c67d443ac3a36206399a4702
Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
Signed-off-by: Chunrong Guo <B40290@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'recipes-connectivity')
-rw-r--r-- | recipes-connectivity/openssl/openssl-qoriq/qoriq/0045-cryptodev-change-signature-for-conversion-functions.patch | 4 |
1 files changed, 2 insertions, 2 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 index 4489b435..12b5f6cc 100644 --- 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 | |||
@@ -20,7 +20,7 @@ index b9c7ff3..58e539c 100644 | |||
20 | const EVP_CIPHER cryptodev_tls12_aes_256_cbc_hmac_sha256; | 20 | const EVP_CIPHER cryptodev_tls12_aes_256_cbc_hmac_sha256; |
21 | 21 | ||
22 | -inline int spcf_bn2bin(BIGNUM *bn, unsigned char **bin, int *bin_len) | 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) | 23 | +static int spcf_bn2bin(const BIGNUM *bn, unsigned char **bin, int *bin_len) |
24 | { | 24 | { |
25 | int len; | 25 | int len; |
26 | unsigned char *p; | 26 | unsigned char *p; |
@@ -29,7 +29,7 @@ index b9c7ff3..58e539c 100644 | |||
29 | } | 29 | } |
30 | 30 | ||
31 | -inline int spcf_bn2bin_ex(BIGNUM *bn, unsigned char **bin, int *bin_len) | 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) | 32 | +static int spcf_bn2bin_ex(const BIGNUM *bn, unsigned char **bin, int *bin_len) |
33 | { | 33 | { |
34 | int len; | 34 | int len; |
35 | unsigned char *p; | 35 | unsigned char *p; |