diff options
author | Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com> | 2018-12-12 03:24:20 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-01-08 20:14:44 +0000 |
commit | bb2d4def8d42370a142409d39126581ac3a254c5 (patch) | |
tree | 8684f6e3d9152fe16375ba4224327cee2e1bc74a /meta/recipes-support/nss/nss_3.39.bb | |
parent | a8bccfa9a5bd4f68b2d96236f012bff61cca926b (diff) | |
download | poky-bb2d4def8d42370a142409d39126581ac3a254c5.tar.gz |
nss: Fix SHA_HTONL bug for arm 32be.
Rpm use nss as digest crypto library and which will cause an error as follows:
error: test-manual-1.2.3-20181012.noarch.rpm: Header SHA1 digest: BAD (Expected
f1deb7dc4a10742d88ccd1e967dbc62ae45095a5 !=4ad9d7dad6d70d6086eefec62612ad5d77f2fe81) => this value is wrong
error: test-manual-1.2.3-20181012.noarch.rpm: not an rpm package (or package manifest)
The error is caused by SHA_HTONL in nss, for there is no need to reverse the host value for arm 32be, so fix it.
(From OE-Core rev: 257a1ccd16928dff64aa4d2e1553f52e910edbb2)
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/nss/nss_3.39.bb')
-rw-r--r-- | meta/recipes-support/nss/nss_3.39.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-support/nss/nss_3.39.bb b/meta/recipes-support/nss/nss_3.39.bb index cdc95c621a..3a8e5d4b87 100644 --- a/meta/recipes-support/nss/nss_3.39.bb +++ b/meta/recipes-support/nss/nss_3.39.bb | |||
@@ -28,6 +28,7 @@ SRC_URI = "http://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/${VERSIO | |||
28 | file://blank-cert9.db \ | 28 | file://blank-cert9.db \ |
29 | file://blank-key4.db \ | 29 | file://blank-key4.db \ |
30 | file://system-pkcs11.txt \ | 30 | file://system-pkcs11.txt \ |
31 | file://nss-fix-SHA_HTONL-bug-for-arm-32be.patch \ | ||
31 | " | 32 | " |
32 | 33 | ||
33 | SRC_URI[md5sum] = "10720fc70fd483de1b085402fb10ed59" | 34 | SRC_URI[md5sum] = "10720fc70fd483de1b085402fb10ed59" |