From: Ting Liu Date: Tue, 28 Jul 2015 07:04:43 +0000 (+0800) Subject: openssl-1.0.1i: s/inline/static/ to fix gcc5.2 issue X-Git-Tag: 2.1~455 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=4301b03812f4ec2259ca71dc292e1200c8fd36d0;p=meta-freescale.git 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 Signed-off-by: Otavio Salvador --- 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 const EVP_CIPHER cryptodev_aes_128_cbc_hmac_sha1; const EVP_CIPHER cryptodev_aes_256_cbc_hmac_sha1; -+inline int spcf_bn2bin(BIGNUM *bn, unsigned char **bin, int *bin_len) ++static int spcf_bn2bin(BIGNUM *bn, unsigned char **bin, int *bin_len) +{ + int len; + unsigned char *p; @@ -84,7 +84,7 @@ index e3eb98b..7ee314b 100644 + return 0; +} + -+inline int spcf_bn2bin_ex(BIGNUM *bn, unsigned char **bin, int *bin_len) ++static int spcf_bn2bin_ex(BIGNUM *bn, unsigned char **bin, int *bin_len) +{ + int len; + unsigned char *p;