summaryrefslogtreecommitdiffstats
path: root/package/dropbear/patches
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-03-14 16:24:56 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-03-14 16:24:56 +0000
commit0840839c159a57ba5de8760ac56d1fd47b982e77 (patch)
tree336bbe94b78c097f9df19314371f1237479d8523 /package/dropbear/patches
parent5094c151edaf221c87e5046ac1c276037ae45ebe (diff)
update dropbear to 0.45
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@371 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/dropbear/patches')
-rw-r--r--package/dropbear/patches/change-user.patch2
-rw-r--r--package/dropbear/patches/use-dev-urandom.patch12
2 files changed, 7 insertions, 7 deletions
diff --git a/package/dropbear/patches/change-user.patch b/package/dropbear/patches/change-user.patch
index 3dc068f8b..3b4a341f7 100644
--- a/package/dropbear/patches/change-user.patch
+++ b/package/dropbear/patches/change-user.patch
@@ -1,6 +1,6 @@
--- dropbear-0.44.old/svr-chansession.c 2005-02-03 02:29:44.000000000 +0100
+++ dropbear-0.44/svr-chansession.c 2005-02-03 02:31:05.000000000 +0100
-@@ -859,10 +859,10 @@
+@@ -860,10 +860,10 @@
/* We can only change uid/gid as root ... */
if (getuid() == 0) {
diff --git a/package/dropbear/patches/use-dev-urandom.patch b/package/dropbear/patches/use-dev-urandom.patch
index 139728308..e1424f59a 100644
--- a/package/dropbear/patches/use-dev-urandom.patch
+++ b/package/dropbear/patches/use-dev-urandom.patch
@@ -1,10 +1,10 @@
-diff -urN dropbear-0.44.old/options.h dropbear-0.44/options.h
---- dropbear-0.44.old/options.h 2005-03-02 23:08:07.000000000 +0100
-+++ dropbear-0.44/options.h 2005-03-03 01:12:21.000000000 +0100
-@@ -139,7 +139,7 @@
- * will prevent Dropbear from blocking on the device. This could
+diff -urN dropbear-0.45.old/options.h dropbear-0.45/options.h
+--- dropbear-0.45.old/options.h 2005-03-14 17:12:22.000000000 +0100
++++ dropbear-0.45/options.h 2005-03-14 17:13:49.000000000 +0100
+@@ -143,7 +143,7 @@
* however significantly reduce the security of your ssh connections
- * if the PRNG state becomes simpler. */
+ * if the PRNG state becomes guessable - make sure you know what you are
+ * doing if you change this. */
-#define DROPBEAR_RANDOM_DEV "/dev/random"
+#define DROPBEAR_RANDOM_DEV "/dev/urandom"