diff options
Diffstat (limited to 'meta/recipes-support/nss/nss/pqg.c-ULL_addend.patch')
-rw-r--r-- | meta/recipes-support/nss/nss/pqg.c-ULL_addend.patch | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/meta/recipes-support/nss/nss/pqg.c-ULL_addend.patch b/meta/recipes-support/nss/nss/pqg.c-ULL_addend.patch deleted file mode 100644 index 3a817faaa6..0000000000 --- a/meta/recipes-support/nss/nss/pqg.c-ULL_addend.patch +++ /dev/null | |||
@@ -1,23 +0,0 @@ | |||
1 | nss does not build on mips with clang because wrong types are used? | ||
2 | |||
3 | pqg.c:339:16: error: comparison of constant 18446744073709551615 with expression of type 'unsigned long' is always true [-Werror,-Wtautological-constant-out-of-range-compare] | ||
4 | if (addend < MP_DIGIT_MAX) { | ||
5 | ~~~~~~ ^ ~~~~~~~~~~~~ | ||
6 | |||
7 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
8 | Upstream-Status: Pending | ||
9 | Index: nss-3.37.1/nss/lib/freebl/pqg.c | ||
10 | =================================================================== | ||
11 | --- nss-3.37.1.orig/nss/lib/freebl/pqg.c | ||
12 | +++ nss-3.37.1/nss/lib/freebl/pqg.c | ||
13 | @@ -326,8 +326,8 @@ generate_h_candidate(SECItem *hit, mp_in | ||
14 | |||
15 | static SECStatus | ||
16 | addToSeed(const SECItem *seed, | ||
17 | - unsigned long addend, | ||
18 | - int seedlen, /* g in 186-1 */ | ||
19 | + unsigned long long addend, | ||
20 | + int seedlen, /* g in 186-1 */ | ||
21 | SECItem *seedout) | ||
22 | { | ||
23 | mp_int s, sum, modulus, tmp; | ||