diff options
| author | deraadt <> | 2014-04-18 11:31:16 +0000 | 
|---|---|---|
| committer | deraadt <> | 2014-04-18 11:31:16 +0000 | 
| commit | 7df9388338278530cd5ea578d2162e607eead31d (patch) | |
| tree | 43b7bbd3c8a858794c95d6024c60c481a3975cfd | |
| parent | 5d7be9d75aadc8b02bc8b6df6d84ee4ff8749952 (diff) | |
| download | openbsd-7df9388338278530cd5ea578d2162e607eead31d.tar.gz openbsd-7df9388338278530cd5ea578d2162e607eead31d.tar.bz2 openbsd-7df9388338278530cd5ea578d2162e607eead31d.zip | |
define RFILE only in the file that needs it
| -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 | ||
