summaryrefslogtreecommitdiff
path: root/package/libs/polarssl/patches/210-gen_key_config_fix.patch
diff options
context:
space:
mode:
authorSteven Barth <cyrus@openwrt.org>2014-08-08 05:20:50 +0000
committerSteven Barth <cyrus@openwrt.org>2014-08-08 05:20:50 +0000
commit0472c0e22f37dcb3e65b331bb5cdb20201c751e3 (patch)
tree25ba0e46998dbb83f34d1b4998bc4f5d3a3a4c3a /package/libs/polarssl/patches/210-gen_key_config_fix.patch
parenteb8119d5909ed9642511538a6318fbb5071c7cbc (diff)
downloadmtk-20170518-0472c0e22f37dcb3e65b331bb5cdb20201c751e3.zip
mtk-20170518-0472c0e22f37dcb3e65b331bb5cdb20201c751e3.tar.gz
mtk-20170518-0472c0e22f37dcb3e65b331bb5cdb20201c751e3.tar.bz2
polarssl: bump to 1.3.8
SVN-Revision: 42061
Diffstat (limited to 'package/libs/polarssl/patches/210-gen_key_config_fix.patch')
-rw-r--r--package/libs/polarssl/patches/210-gen_key_config_fix.patch12
1 files changed, 5 insertions, 7 deletions
diff --git a/package/libs/polarssl/patches/210-gen_key_config_fix.patch b/package/libs/polarssl/patches/210-gen_key_config_fix.patch
index 77e51b8..b17e744 100644
--- a/package/libs/polarssl/patches/210-gen_key_config_fix.patch
+++ b/package/libs/polarssl/patches/210-gen_key_config_fix.patch
@@ -1,8 +1,6 @@
-Index: polarssl-1.3.7/programs/pkey/gen_key.c
-===================================================================
---- polarssl-1.3.7.orig/programs/pkey/gen_key.c 2014-06-01 11:46:58.917399668 +0200
-+++ polarssl-1.3.7/programs/pkey/gen_key.c 2014-06-01 11:48:18.653397400 +0200
-@@ -215,7 +215,9 @@
+--- a/programs/pkey/gen_key.c
++++ b/programs/pkey/gen_key.c
+@@ -215,7 +215,9 @@ int main( int argc, char *argv[] )
opt.type = DFL_TYPE;
opt.rsa_keysize = DFL_RSA_KEYSIZE;
@@ -12,7 +10,7 @@ Index: polarssl-1.3.7/programs/pkey/gen_key.c
opt.filename = DFL_FILENAME;
opt.format = DFL_FORMAT;
opt.use_dev_random = DFL_USE_DEV_RANDOM;
-@@ -231,8 +233,10 @@
+@@ -231,8 +233,10 @@ int main( int argc, char *argv[] )
{
if( strcmp( q, "rsa" ) == 0 )
opt.type = POLARSSL_PK_RSA;
@@ -23,7 +21,7 @@ Index: polarssl-1.3.7/programs/pkey/gen_key.c
else
goto usage;
}
-@@ -251,12 +255,14 @@
+@@ -251,12 +255,14 @@ int main( int argc, char *argv[] )
if( opt.rsa_keysize < 1024 || opt.rsa_keysize > 8192 )
goto usage;
}