mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-18 23:47:31 +02:00
b5cb1795de
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7490 3c298f89-4303-0410-b956-a3cf2f4a3e73
40 lines
1.4 KiB
Diff
40 lines
1.4 KiB
Diff
Index: openswan-2.4.8/programs/ranbits/ranbits.c
|
|
===================================================================
|
|
--- openswan-2.4.8.orig/programs/ranbits/ranbits.c 2007-06-04 13:22:49.835279168 +0200
|
|
+++ openswan-2.4.8/programs/ranbits/ranbits.c 2007-06-04 13:22:51.648003592 +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"
|
|
Index: openswan-2.4.8/programs/rsasigkey/rsasigkey.c
|
|
===================================================================
|
|
--- openswan-2.4.8.orig/programs/rsasigkey/rsasigkey.c 2007-06-04 13:22:49.842278104 +0200
|
|
+++ openswan-2.4.8/programs/rsasigkey/rsasigkey.c 2007-06-04 13:22:51.649003440 +0200
|
|
@@ -31,7 +31,7 @@
|
|
#include <gmp.h>
|
|
|
|
#ifndef DEVICE
|
|
-#define DEVICE "/dev/random"
|
|
+#define DEVICE "/dev/urandom"
|
|
#endif
|
|
#ifndef MAXBITS
|
|
#define MAXBITS 20000
|
|
Index: openswan-2.4.8/programs/starter/files.h
|
|
===================================================================
|
|
--- openswan-2.4.8.orig/programs/starter/files.h 2007-06-04 13:22:49.850276888 +0200
|
|
+++ openswan-2.4.8/programs/starter/files.h 2007-06-04 13:22:51.649003440 +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"
|