update dropbear to 0.45

SVN-Revision: 371
v19.07.3_mercusys_ac12_duma
Felix Fietkau 19 years ago
parent b9dd687073
commit a2b1ed7b3c

@ -5,7 +5,7 @@
############################################################# #############################################################
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
DROPBEAR_VERSION:=0.44 DROPBEAR_VERSION:=0.45
DROPBEAR_SOURCE:=dropbear-$(DROPBEAR_VERSION).tar.bz2 DROPBEAR_SOURCE:=dropbear-$(DROPBEAR_VERSION).tar.bz2
DROPBEAR_SITE:=http://matt.ucc.asn.au/dropbear/releases/ DROPBEAR_SITE:=http://matt.ucc.asn.au/dropbear/releases/
DROPBEAR_DIR:=$(BUILD_DIR)/dropbear-$(DROPBEAR_VERSION) DROPBEAR_DIR:=$(BUILD_DIR)/dropbear-$(DROPBEAR_VERSION)

@ -1,6 +1,6 @@
--- dropbear-0.44.old/svr-chansession.c 2005-02-03 02:29:44.000000000 +0100 --- 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 +++ 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 ... */ /* We can only change uid/gid as root ... */
if (getuid() == 0) { if (getuid() == 0) {

@ -1,10 +1,10 @@
diff -urN dropbear-0.44.old/options.h dropbear-0.44/options.h diff -urN dropbear-0.45.old/options.h dropbear-0.45/options.h
--- dropbear-0.44.old/options.h 2005-03-02 23:08:07.000000000 +0100 --- dropbear-0.45.old/options.h 2005-03-14 17:12:22.000000000 +0100
+++ dropbear-0.44/options.h 2005-03-03 01:12:21.000000000 +0100 +++ dropbear-0.45/options.h 2005-03-14 17:13:49.000000000 +0100
@@ -139,7 +139,7 @@ @@ -143,7 +143,7 @@
* will prevent Dropbear from blocking on the device. This could
* however significantly reduce the security of your ssh connections * 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/random"
+#define DROPBEAR_RANDOM_DEV "/dev/urandom" +#define DROPBEAR_RANDOM_DEV "/dev/urandom"

Loading…
Cancel
Save