ath9k: correct package description
[openwrt.git] / package / openswan / patches / 120-use_dev_urandom.patch
1 Index: openswan-2.4.8/programs/ranbits/ranbits.c
2 ===================================================================
3 --- openswan-2.4.8.orig/programs/ranbits/ranbits.c 2007-06-04 13:22:49.835279168 +0200
4 +++ openswan-2.4.8/programs/ranbits/ranbits.c 2007-06-04 13:22:51.648003592 +0200
5 @@ -29,7 +29,7 @@
6 #include <openswan.h>
7
8 #ifndef DEVICE
9 -#define DEVICE "/dev/random"
10 +#define DEVICE "/dev/urandom"
11 #endif
12 #ifndef QDEVICE
13 #define QDEVICE "/dev/urandom"
14 Index: openswan-2.4.8/programs/rsasigkey/rsasigkey.c
15 ===================================================================
16 --- openswan-2.4.8.orig/programs/rsasigkey/rsasigkey.c 2007-06-04 13:22:49.842278104 +0200
17 +++ openswan-2.4.8/programs/rsasigkey/rsasigkey.c 2007-06-04 13:22:51.649003440 +0200
18 @@ -31,7 +31,7 @@
19 #include <gmp.h>
20
21 #ifndef DEVICE
22 -#define DEVICE "/dev/random"
23 +#define DEVICE "/dev/urandom"
24 #endif
25 #ifndef MAXBITS
26 #define MAXBITS 20000
27 Index: openswan-2.4.8/programs/starter/files.h
28 ===================================================================
29 --- openswan-2.4.8.orig/programs/starter/files.h 2007-06-04 13:22:49.850276888 +0200
30 +++ openswan-2.4.8/programs/starter/files.h 2007-06-04 13:22:51.649003440 +0200
31 @@ -36,7 +36,7 @@
32
33 #define MY_PID_FILE "/var/run/pluto/ipsec-starter.pid"
34
35 -#define DEV_RANDOM "/dev/random"
36 +#define DEV_RANDOM "/dev/urandom"
37 #define DEV_URANDOM "/dev/urandom"
38
39 #define PROC_IPSECVERSION "/proc/net/ipsec_version"
This page took 0.052855 seconds and 5 git commands to generate.