openwrtv3/obsolete-buildroot/sources/openwrt/ipkg/dropbear/dropbear.patch

22 lines
863 B
Diff
Raw Normal View History

diff -bBurN dropbear-0.44/options.h dropbear-0.44-openwrt/options.h
--- dropbear-0.44/options.h 2005-01-03 10:24:03.000000000 +0100
+++ dropbear-0.44-openwrt/options.h 2005-01-14 13:19:38.902029040 +0100
@@ -139,7 +139,7 @@
* will prevent Dropbear from blocking on the device. This could
* however significantly reduce the security of your ssh connections
* if the PRNG state becomes simpler. */
-#define DROPBEAR_RANDOM_DEV "/dev/random"
+#define DROPBEAR_RANDOM_DEV "/dev/urandom"
/* prngd must be manually set up to produce output */
/*#define DROPBEAR_PRNGD_SOCKET "/var/run/dropbear-rng"*/
@@ -188,7 +188,7 @@
#define DROPBEAR_VERSION "0.44"
#endif
-#define LOCAL_IDENT "SSH-2.0-dropbear_" DROPBEAR_VERSION
+#define LOCAL_IDENT "SSH-2.0-OpenSSH"
#define PROGNAME "dropbear"
/* Spec recommends after one hour or 1 gigabyte of data. One hour