summaryrefslogtreecommitdiffstats
path: root/recipes-connectivity/openssl
diff options
context:
space:
mode:
authorTing Liu <ting.liu@freescale.com>2015-07-28 15:04:43 +0800
committerOtavio Salvador <otavio@ossystems.com.br>2015-07-29 10:48:21 -0300
commit4301b03812f4ec2259ca71dc292e1200c8fd36d0 (patch)
treeed6f93a560aad7cf557462c7e2f584ca1e43c980 /recipes-connectivity/openssl
parent67fcae9c288a3b7bedec873a431197d357c2e5c3 (diff)
downloadmeta-freescale-4301b03812f4ec2259ca71dc292e1200c8fd36d0.tar.gz
openssl-1.0.1i: s/inline/static/ to fix gcc5.2 issue
Fix 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 Signed-off-by: Ting Liu <ting.liu@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'recipes-connectivity/openssl')
-rw-r--r--recipes-connectivity/openssl/openssl-fsl/0008-Initial-support-for-PKC-in-cryptodev-engine.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/recipes-connectivity/openssl/openssl-fsl/0008-Initial-support-for-PKC-in-cryptodev-engine.patch b/recipes-connectivity/openssl/openssl-fsl/0008-Initial-support-for-PKC-in-cryptodev-engine.patch
index 8c8b1f22..98272abf 100644
--- a/recipes-connectivity/openssl/openssl-fsl/0008-Initial-support-for-PKC-in-cryptodev-engine.patch
+++ b/recipes-connectivity/openssl/openssl-fsl/0008-Initial-support-for-PKC-in-cryptodev-engine.patch
@@ -62,7 +62,7 @@ index e3eb98b..7ee314b 100644
62 const EVP_CIPHER cryptodev_aes_128_cbc_hmac_sha1; 62 const EVP_CIPHER cryptodev_aes_128_cbc_hmac_sha1;
63 const EVP_CIPHER cryptodev_aes_256_cbc_hmac_sha1; 63 const EVP_CIPHER cryptodev_aes_256_cbc_hmac_sha1;
64 64
65+inline int spcf_bn2bin(BIGNUM *bn, unsigned char **bin, int *bin_len) 65+static int spcf_bn2bin(BIGNUM *bn, unsigned char **bin, int *bin_len)
66+{ 66+{
67+ int len; 67+ int len;
68+ unsigned char *p; 68+ unsigned char *p;
@@ -84,7 +84,7 @@ index e3eb98b..7ee314b 100644
84+ return 0; 84+ return 0;
85+} 85+}
86+ 86+
87+inline int spcf_bn2bin_ex(BIGNUM *bn, unsigned char **bin, int *bin_len) 87+static int spcf_bn2bin_ex(BIGNUM *bn, unsigned char **bin, int *bin_len)
88+{ 88+{
89+ int len; 89+ int len;
90+ unsigned char *p; 90+ unsigned char *p;