diff options
Diffstat (limited to 'fix.patch')
-rw-r--r-- | fix.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/fix.patch b/fix.patch new file mode 100644 index 000000000000..e2e01a13f173 --- /dev/null +++ b/fix.patch @@ -0,0 +1,27 @@ +--- a/nss/lib/freebl/blapii.h ++++ b/nss/lib/freebl/blapii.h +@@ -81,7 +81,7 @@ + #undef HAVE_NO_SANITIZE_ATTR + + SECStatus RSA_Init(); +-SECStatus generate_prime(mp_int *prime, int primeLen); ++SECStatus generate_prime(struct mp_int *prime, int primeLen); + + SECStatus + RSA_EMSAEncodePSS(unsigned char *em, +--- a/nss/lib/freebl/secmpi.h ++++ b/nss/lib/freebl/secmpi.h +@@ -54,10 +54,10 @@ + } + + /* Fill the `used` digits of an mp_int with random bits */ +-mp_err mpp_random_secure(mp_int *a); ++struct mp_err mpp_random_secure(struct mp_int *a); + + /* Pseudo-primality testing using `mpp_random_secure` to choose Miller-Rabin base */ +-mp_err mpp_pprime_secure(mp_int *a, int nt); ++struct mp_err mpp_pprime_secure(struct mp_int *a, int nt); + + /* Variant of `mpp_make_prime` using `mpp_random_secure` to choose Miller-Rabin base */ +-mp_err mpp_make_prime_secure(mp_int *start, mp_size nBits, mp_size strong); ++struct mp_err mpp_make_prime_secure(struct mp_int *start, struct mp_size nBits, struct mp_size strong); |