-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update depends gnutls to version 3.8.4
- Loading branch information
Showing
4 changed files
with
45 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
41 changes: 41 additions & 0 deletions
41
depends/common/gnutls/0002-hack-fix-about-rsa_compute_root_tr.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
--- a/lib/nettle/backport/rsa-sign-tr.c | ||
+++ b/lib/nettle/backport/rsa-sign-tr.c | ||
@@ -88,10 +88,10 @@ | ||
* attacks which rely on faults on hardware, or even software MPI | ||
* implementation. */ | ||
int | ||
-rsa_compute_root_tr(const struct rsa_public_key *pub, | ||
- const struct rsa_private_key *key, | ||
- void *random_ctx, nettle_random_func *random, | ||
- mpz_t x, const mpz_t m) | ||
+backport_rsa_compute_root_tr(const struct rsa_public_key *pub, | ||
+ const struct rsa_private_key *key, | ||
+ void *random_ctx, nettle_random_func *random, | ||
+ mpz_t x, const mpz_t m) | ||
{ | ||
int res; | ||
mpz_t t, mb, xb, ri; | ||
@@ -142,7 +142,7 @@ | ||
|
||
nn = mpz_size (pub->n); | ||
|
||
- res = rsa_compute_root_tr(pub, key, random_ctx, random, xz, | ||
+ res = backport_rsa_compute_root_tr(pub, key, random_ctx, random, xz, | ||
mpz_roinit_n(mz, m, nn)); | ||
|
||
if (res) | ||
@@ -347,10 +347,10 @@ | ||
* in buffer copying both in case of success or error. | ||
*/ | ||
int | ||
-rsa_compute_root_tr(const struct rsa_public_key *pub, | ||
- const struct rsa_private_key *key, | ||
- void *random_ctx, nettle_random_func *random, | ||
- mpz_t x, const mpz_t m) | ||
+backport_rsa_compute_root_tr(const struct rsa_public_key *pub, | ||
+ const struct rsa_private_key *key, | ||
+ void *random_ctx, nettle_random_func *random, | ||
+ mpz_t x, const mpz_t m) | ||
{ | ||
TMP_GMP_DECL (l, mp_limb_t); | ||
mp_size_t nn = mpz_size(pub->n); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
0ea0d11a1660a1e63f960f157b197abe6d0c8cb3255be24e1fb3815930b9bdc5 | ||
2bea4e154794f3f00180fa2a5c51fe8b005ac7a31cd58bd44cdfa7f36ebc3a9b |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
gnutls https://www.gnupg.org/ftp/gcrypt/gnutls/v3.8/gnutls-3.8.0.tar.xz | ||
gnutls https://www.gnupg.org/ftp/gcrypt/gnutls/v3.8/gnutls-3.8.4.tar.xz |