mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-27 10:56:46 +02:00
5893c5bc8b
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@568 3c298f89-4303-0410-b956-a3cf2f4a3e73
37 lines
1.4 KiB
Diff
37 lines
1.4 KiB
Diff
diff -urN openswan-2.3.1dr6.old/programs/ranbits/ranbits.c openswan-2.3.1dr6.dev/programs/ranbits/ranbits.c
|
|
--- openswan-2.3.1dr6.old/programs/ranbits/ranbits.c 2004-04-04 03:50:56.000000000 +0200
|
|
+++ openswan-2.3.1dr6.dev/programs/ranbits/ranbits.c 2005-04-05 17:37:16.000000000 +0200
|
|
@@ -29,7 +29,7 @@
|
|
#include <openswan.h>
|
|
|
|
#ifndef DEVICE
|
|
-#define DEVICE "/dev/random"
|
|
+#define DEVICE "/dev/urandom"
|
|
#endif
|
|
#ifndef QDEVICE
|
|
#define QDEVICE "/dev/urandom"
|
|
diff -urN openswan-2.3.1dr6.old/programs/rsasigkey/rsasigkey.c openswan-2.3.1dr6.dev/programs/rsasigkey/rsasigkey.c
|
|
--- openswan-2.3.1dr6.old/programs/rsasigkey/rsasigkey.c 2004-05-23 23:32:03.000000000 +0200
|
|
+++ openswan-2.3.1dr6.dev/programs/rsasigkey/rsasigkey.c 2005-04-05 17:38:00.000000000 +0200
|
|
@@ -31,7 +31,7 @@
|
|
#include <gmp.h>
|
|
|
|
#ifndef DEVICE
|
|
-#define DEVICE "/dev/random"
|
|
+#define DEVICE "/dev/urandom"
|
|
#endif
|
|
#ifndef MAXBITS
|
|
#define MAXBITS 20000
|
|
diff -urN openswan-2.3.1dr6.old/programs/starter/files.h openswan-2.3.1dr6.dev/programs/starter/files.h
|
|
--- openswan-2.3.1dr6.old/programs/starter/files.h 2005-01-11 18:52:51.000000000 +0100
|
|
+++ openswan-2.3.1dr6.dev/programs/starter/files.h 2005-04-05 17:38:16.000000000 +0200
|
|
@@ -36,7 +36,7 @@
|
|
|
|
#define MY_PID_FILE "/var/run/pluto/ipsec-starter.pid"
|
|
|
|
-#define DEV_RANDOM "/dev/random"
|
|
+#define DEV_RANDOM "/dev/urandom"
|
|
#define DEV_URANDOM "/dev/urandom"
|
|
|
|
#define PROC_IPSECVERSION "/proc/net/ipsec_version"
|