upgrade the ixp4xx ethernet driver to v0.3.1, split the Gateway 7001 support to two...
[openwrt.git] / package / openswan / patches / 120-use_dev_urandom.patch
1 diff -urN openswan-2.3.1dr6.old/programs/ranbits/ranbits.c openswan-2.3.1dr6.dev/programs/ranbits/ranbits.c
2 --- openswan-2.3.1dr6.old/programs/ranbits/ranbits.c 2004-04-04 03:50:56.000000000 +0200
3 +++ openswan-2.3.1dr6.dev/programs/ranbits/ranbits.c 2005-04-05 17:37:16.000000000 +0200
4 @@ -29,7 +29,7 @@
5 #include <openswan.h>
6
7 #ifndef DEVICE
8 -#define DEVICE "/dev/random"
9 +#define DEVICE "/dev/urandom"
10 #endif
11 #ifndef QDEVICE
12 #define QDEVICE "/dev/urandom"
13 diff -urN openswan-2.3.1dr6.old/programs/rsasigkey/rsasigkey.c openswan-2.3.1dr6.dev/programs/rsasigkey/rsasigkey.c
14 --- openswan-2.3.1dr6.old/programs/rsasigkey/rsasigkey.c 2004-05-23 23:32:03.000000000 +0200
15 +++ openswan-2.3.1dr6.dev/programs/rsasigkey/rsasigkey.c 2005-04-05 17:38:00.000000000 +0200
16 @@ -31,7 +31,7 @@
17 #include <gmp.h>
18
19 #ifndef DEVICE
20 -#define DEVICE "/dev/random"
21 +#define DEVICE "/dev/urandom"
22 #endif
23 #ifndef MAXBITS
24 #define MAXBITS 20000
25 diff -urN openswan-2.3.1dr6.old/programs/starter/files.h openswan-2.3.1dr6.dev/programs/starter/files.h
26 --- openswan-2.3.1dr6.old/programs/starter/files.h 2005-01-11 18:52:51.000000000 +0100
27 +++ openswan-2.3.1dr6.dev/programs/starter/files.h 2005-04-05 17:38:16.000000000 +0200
28 @@ -36,7 +36,7 @@
29
30 #define MY_PID_FILE "/var/run/pluto/ipsec-starter.pid"
31
32 -#define DEV_RANDOM "/dev/random"
33 +#define DEV_RANDOM "/dev/urandom"
34 #define DEV_URANDOM "/dev/urandom"
35
36 #define PROC_IPSECVERSION "/proc/net/ipsec_version"
This page took 0.054225 seconds and 5 git commands to generate.