diff options
author | Jan Beich <jbeich@FreeBSD.org> | 2019-05-11 23:20:57 +0000 |
---|---|---|
committer | Jan Beich <jbeich@FreeBSD.org> | 2019-05-11 23:20:57 +0000 |
commit | 288d75294d22f32b3ea3b2c9c5b20aff0a2b9e6e (patch) | |
tree | 0e4f4c292e9ba05dd52edb045cbba8dfc346b764 | |
parent | eaff1153b152257a8f91fd6e4506095776526d79 (diff) | |
download | ports-288d75294d22f32b3ea3b2c9c5b20aff0a2b9e6e.tar.gz ports-288d75294d22f32b3ea3b2c9c5b20aff0a2b9e6e.zip |
Notes
-rw-r--r-- | security/nss/files/patch-bug1551041 | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/security/nss/files/patch-bug1551041 b/security/nss/files/patch-bug1551041 new file mode 100644 index 000000000000..a9f7f5ce065e --- /dev/null +++ b/security/nss/files/patch-bug1551041 @@ -0,0 +1,11 @@ +--- lib/freebl/crypto_primitives.c.orig 2019-05-10 21:14:18 UTC ++++ lib/freebl/crypto_primitives.c +@@ -22,7 +22,7 @@ swap8b(PRUint64 value) + return (value); + } + +-#elif !defined(_MSC_VER) && !__has_builtin(__builtin_bswap64) && !((defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 3)))) ++#elif defined(IS_LITTLE_ENDIAN) && !defined(_MSC_VER) && !__has_builtin(__builtin_bswap64) && !((defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 3)))) + + PRUint64 + swap8b(PRUint64 x) |