diff options
Diffstat (limited to 'meta/recipes-support/nss/nss')
-rw-r--r-- | meta/recipes-support/nss/nss/nss-fix-SHA_HTONL-bug-for-arm-32be.patch | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/meta/recipes-support/nss/nss/nss-fix-SHA_HTONL-bug-for-arm-32be.patch b/meta/recipes-support/nss/nss/nss-fix-SHA_HTONL-bug-for-arm-32be.patch deleted file mode 100644 index bb1c6e3b34..0000000000 --- a/meta/recipes-support/nss/nss/nss-fix-SHA_HTONL-bug-for-arm-32be.patch +++ /dev/null | |||
@@ -1,34 +0,0 @@ | |||
1 | Subject: [PATCH] Fix SHA_HTONL bug for arm 32be. | ||
2 | |||
3 | In arm 32be, there is no need to reverse the host value. | ||
4 | |||
5 | Upstream-Status: Pending | ||
6 | |||
7 | Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com> | ||
8 | --- | ||
9 | lib/freebl/sha_fast.h | 2 ++ | ||
10 | 1 file changed, 2 insertions(+) | ||
11 | |||
12 | diff --git a/nss/lib/freebl/sha_fast.h b/nss/lib/freebl/sha_fast.h | ||
13 | index 4f37d13..8072eda 100644 | ||
14 | --- a/nss/lib/freebl/sha_fast.h | ||
15 | +++ b/nss/lib/freebl/sha_fast.h | ||
16 | @@ -99,6 +99,7 @@ swap4b(PRUint32 value) | ||
17 | defined(__ARM_ARCH_7__) || \ | ||
18 | defined(__ARM_ARCH_7A__) || \ | ||
19 | defined(__ARM_ARCH_7R__))) | ||
20 | +#if defined(IS_LITTLE_ENDIAN) | ||
21 | static __inline__ PRUint32 | ||
22 | swap4b(PRUint32 value) | ||
23 | { | ||
24 | @@ -109,6 +110,7 @@ swap4b(PRUint32 value) | ||
25 | return ret; | ||
26 | } | ||
27 | #define SHA_HTONL(x) swap4b(x) | ||
28 | +#endif | ||
29 | |||
30 | #endif /* x86 family */ | ||
31 | |||
32 | -- | ||
33 | 2.7.4 | ||
34 | |||