1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-11 02:27:11 +02:00
openwrt-xburst/obsolete-buildroot/sources/openwrt/ipkg/dropbear/dropbear.patch
kaloz f93f63a886 upgrade to dropbear 0.44 final, give the package a version number, and patch to use /dev/urandom
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@196 3c298f89-4303-0410-b956-a3cf2f4a3e73
2005-01-14 14:18:07 +00:00

22 lines
863 B
Diff

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