diff options
| author | markus <> | 2002-09-05 22:45:21 +0000 |
|---|---|---|
| committer | markus <> | 2002-09-05 22:45:21 +0000 |
| commit | 2a6851ef8adb0e84ff2515493d3704a13c6256b0 (patch) | |
| tree | 9df5b497548eaf51e9f234d27aaf988cd14882c2 /src/lib/libcrypto/rand | |
| parent | 5514995a9d5ed91db089875adb509c7781357c0e (diff) | |
| download | openbsd-2a6851ef8adb0e84ff2515493d3704a13c6256b0.tar.gz openbsd-2a6851ef8adb0e84ff2515493d3704a13c6256b0.tar.bz2 openbsd-2a6851ef8adb0e84ff2515493d3704a13c6256b0.zip | |
import openssl-0.9.7-beta3
Diffstat (limited to 'src/lib/libcrypto/rand')
| -rw-r--r-- | src/lib/libcrypto/rand/rand_egd.c | 2 | ||||
| -rw-r--r-- | src/lib/libcrypto/rand/rand_unix.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/libcrypto/rand/rand_egd.c b/src/lib/libcrypto/rand/rand_egd.c index 97ed12cf67..abc3ac27d5 100644 --- a/src/lib/libcrypto/rand/rand_egd.c +++ b/src/lib/libcrypto/rand/rand_egd.c | |||
| @@ -94,7 +94,7 @@ | |||
| 94 | * RAND_egd() is a wrapper for RAND_egd_bytes() with numbytes=255. | 94 | * RAND_egd() is a wrapper for RAND_egd_bytes() with numbytes=255. |
| 95 | */ | 95 | */ |
| 96 | 96 | ||
| 97 | #if defined(OPENSSL_SYS_WIN32) || defined(OPENSSL_SYS_VMS) | 97 | #if defined(OPENSSL_SYS_WIN32) || defined(OPENSSL_SYS_VMS) || defined(__DJGPP__) |
| 98 | int RAND_query_egd_bytes(const char *path, unsigned char *buf, int bytes) | 98 | int RAND_query_egd_bytes(const char *path, unsigned char *buf, int bytes) |
| 99 | { | 99 | { |
| 100 | return(-1); | 100 | return(-1); |
diff --git a/src/lib/libcrypto/rand/rand_unix.c b/src/lib/libcrypto/rand/rand_unix.c index 5a78009e9a..ec09d74603 100644 --- a/src/lib/libcrypto/rand/rand_unix.c +++ b/src/lib/libcrypto/rand/rand_unix.c | |||
| @@ -109,6 +109,8 @@ | |||
| 109 | * | 109 | * |
| 110 | */ | 110 | */ |
| 111 | 111 | ||
| 112 | #define USE_SOCKETS | ||
| 113 | #include "e_os.h" | ||
| 112 | #include "cryptlib.h" | 114 | #include "cryptlib.h" |
| 113 | #include <openssl/rand.h> | 115 | #include <openssl/rand.h> |
| 114 | #include "rand_lcl.h" | 116 | #include "rand_lcl.h" |
