diff options
author | deraadt <> | 2014-04-18 11:31:16 +0000 |
---|---|---|
committer | deraadt <> | 2014-04-18 11:31:16 +0000 |
commit | 0ba9684b5635cdd457ef0e1115174d2904627503 (patch) | |
tree | 43b7bbd3c8a858794c95d6024c60c481a3975cfd /src | |
parent | 6d8ab3f51c14ff4e0ce4f0aaafede903671056b3 (diff) | |
download | openbsd-0ba9684b5635cdd457ef0e1115174d2904627503.tar.gz openbsd-0ba9684b5635cdd457ef0e1115174d2904627503.tar.bz2 openbsd-0ba9684b5635cdd457ef0e1115174d2904627503.zip |
define RFILE only in the file that needs it
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/libcrypto/rand/randfile.c | 2 | ||||
-rw-r--r-- | src/lib/libssl/src/crypto/rand/randfile.c | 2 | ||||
-rw-r--r-- | src/lib/libssl/src/e_os.h | 9 |
3 files changed, 2 insertions, 11 deletions
diff --git a/src/lib/libcrypto/rand/randfile.c b/src/lib/libcrypto/rand/randfile.c index 9ba103369f..c47d1f7224 100644 --- a/src/lib/libcrypto/rand/randfile.c +++ b/src/lib/libcrypto/rand/randfile.c | |||
@@ -74,7 +74,7 @@ | |||
74 | #define BUFSIZE 1024 | 74 | #define BUFSIZE 1024 |
75 | #define RAND_DATA 1024 | 75 | #define RAND_DATA 1024 |
76 | 76 | ||
77 | /* #define RFILE ".rnd" - defined in ../../e_os.h */ | 77 | #define RFILE ".rnd" |
78 | 78 | ||
79 | /* Note that these functions are intended for seed files only. | 79 | /* Note that these functions are intended for seed files only. |
80 | * Entropy devices and EGD sockets are handled in rand_unix.c */ | 80 | * Entropy devices and EGD sockets are handled in rand_unix.c */ |
diff --git a/src/lib/libssl/src/crypto/rand/randfile.c b/src/lib/libssl/src/crypto/rand/randfile.c index 9ba103369f..c47d1f7224 100644 --- a/src/lib/libssl/src/crypto/rand/randfile.c +++ b/src/lib/libssl/src/crypto/rand/randfile.c | |||
@@ -74,7 +74,7 @@ | |||
74 | #define BUFSIZE 1024 | 74 | #define BUFSIZE 1024 |
75 | #define RAND_DATA 1024 | 75 | #define RAND_DATA 1024 |
76 | 76 | ||
77 | /* #define RFILE ".rnd" - defined in ../../e_os.h */ | 77 | #define RFILE ".rnd" |
78 | 78 | ||
79 | /* Note that these functions are intended for seed files only. | 79 | /* Note that these functions are intended for seed files only. |
80 | * Entropy devices and EGD sockets are handled in rand_unix.c */ | 80 | * Entropy devices and EGD sockets are handled in rand_unix.c */ |
diff --git a/src/lib/libssl/src/e_os.h b/src/lib/libssl/src/e_os.h index 8efb7f234b..7de4dc09b3 100644 --- a/src/lib/libssl/src/e_os.h +++ b/src/lib/libssl/src/e_os.h | |||
@@ -70,18 +70,9 @@ | |||
70 | 70 | ||
71 | #include <openssl/e_os2.h> | 71 | #include <openssl/e_os2.h> |
72 | 72 | ||
73 | #ifdef __cplusplus | ||
74 | extern "C" { | ||
75 | #endif | ||
76 | |||
77 | #define OPENSSL_CONF "openssl.cnf" | 73 | #define OPENSSL_CONF "openssl.cnf" |
78 | #define RFILE ".rnd" | ||
79 | 74 | ||
80 | #define OPENSSL_USE_IPV6 1 | 75 | #define OPENSSL_USE_IPV6 1 |
81 | 76 | ||
82 | #ifdef __cplusplus | ||
83 | } | ||
84 | #endif | ||
85 | |||
86 | #endif | 77 | #endif |
87 | 78 | ||