diff options
| author | Ting Liu <ting.liu@freescale.com> | 2015-07-28 15:04:43 +0800 |
|---|---|---|
| committer | Zhenhua Luo <zhenhua.luo@freescale.com> | 2015-07-29 12:09:18 +0800 |
| commit | ea4cfd47a8841017904449f936de34531fa3d923 (patch) | |
| tree | 01896ef18c64f4a2139fe27f7bebaea47da4ac6f | |
| parent | 8dcd2490816db6397d1677da933c6c19e7fbdd4f (diff) | |
| download | meta-fsl-ppc-ea4cfd47a8841017904449f936de34531fa3d923.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>
| -rw-r--r-- | recipes-connectivity/openssl/openssl-fsl/0008-Initial-support-for-PKC-in-cryptodev-engine.patch | 4 |
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 8c8b1f2..98272ab 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; |
