• Zheng Ruoqin's avatar
    Bug 1512923 - Fix SHA_HTONL bug for arm 32be r=jcj · c059dbfb
    Zheng Ruoqin authored
    Rpm use nss as digest crypto library and which will cause an error on
    arm 32be platform 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 as it is originally big endian, so fix it.
    Signed-off-by: default avatarZheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
    
    --HG--
    extra : rebase_source : f42990c833b0d5c8d4ba08e20d13f96b2708de33
    extra : amend_source : 2781c572e071400f6c9da1cee87f49d4e0890ea9
    c059dbfb
Name
Last commit
Last update
automation Loading commit data...
cmd Loading commit data...
coreconf Loading commit data...
cpputil Loading commit data...
doc Loading commit data...
fuzz Loading commit data...
gtests Loading commit data...
lib Loading commit data...
nss-tool Loading commit data...
pkg Loading commit data...
tests Loading commit data...
.clang-format Loading commit data...
.gitignore Loading commit data...
.hgignore Loading commit data...
.hgtags Loading commit data...
.sancov-blacklist Loading commit data...
.taskcluster.yml Loading commit data...
COPYING Loading commit data...
Makefile Loading commit data...
build.sh Loading commit data...
exports.gyp Loading commit data...
help.txt Loading commit data...
mach Loading commit data...
manifest.mn Loading commit data...
nss.gyp Loading commit data...
readme.md Loading commit data...
trademarks.txt Loading commit data...