aboutsummaryrefslogtreecommitdiffstats
path: root/package/libs/nettle/patches/0005-allow-der-iterator-to-be-used-with-mini-gmp.patch
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2014-06-18 17:06:30 +0000
committerSteven Barth <steven@midlink.org>2014-06-18 17:06:30 +0000
commit4456b621cb7c77dc09df1d2adb2cb322c0b35da9 (patch)
treefc227cd0250ec1b3af0455f90c14b777bb2d640e /package/libs/nettle/patches/0005-allow-der-iterator-to-be-used-with-mini-gmp.patch
parent14704677a4a85b2a0954c83a7eb46b9c3e301010 (diff)
downloadupstream-4456b621cb7c77dc09df1d2adb2cb322c0b35da9.tar.gz
upstream-4456b621cb7c77dc09df1d2adb2cb322c0b35da9.tar.bz2
upstream-4456b621cb7c77dc09df1d2adb2cb322c0b35da9.zip
nettle: downgrade to 2.7.1 since gnutls is incompatible with 3.0
Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41263 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/libs/nettle/patches/0005-allow-der-iterator-to-be-used-with-mini-gmp.patch')
-rw-r--r--package/libs/nettle/patches/0005-allow-der-iterator-to-be-used-with-mini-gmp.patch9
1 files changed, 7 insertions, 2 deletions
diff --git a/package/libs/nettle/patches/0005-allow-der-iterator-to-be-used-with-mini-gmp.patch b/package/libs/nettle/patches/0005-allow-der-iterator-to-be-used-with-mini-gmp.patch
index ef282623f6..3a87254955 100644
--- a/package/libs/nettle/patches/0005-allow-der-iterator-to-be-used-with-mini-gmp.patch
+++ b/package/libs/nettle/patches/0005-allow-der-iterator-to-be-used-with-mini-gmp.patch
@@ -7,9 +7,11 @@ Subject: [PATCH 5/5] allow der-iterator to be used with mini-gmp
der-iterator.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
+diff --git a/der-iterator.c b/der-iterator.c
+index 2e6efd5..5ab15b9 100644
--- a/der-iterator.c
+++ b/der-iterator.c
-@@ -38,7 +38,7 @@
+@@ -30,7 +30,7 @@
#include <assert.h>
#include <stdlib.h>
@@ -18,7 +20,7 @@ Subject: [PATCH 5/5] allow der-iterator to be used with mini-gmp
#include "bignum.h"
#endif
-@@ -254,7 +254,7 @@ asn1_der_get_uint32(struct asn1_der_iter
+@@ -246,7 +246,7 @@ asn1_der_get_uint32(struct asn1_der_iterator *i,
return 1;
}
@@ -27,3 +29,6 @@ Subject: [PATCH 5/5] allow der-iterator to be used with mini-gmp
int
asn1_der_get_bignum(struct asn1_der_iterator *i,
mpz_t x, unsigned max_bits)
+--
+1.9.2
+