summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/rand/randfile.c
diff options
context:
space:
mode:
authorbeck <>2014-04-13 19:50:56 +0000
committerbeck <>2014-04-13 19:50:56 +0000
commit3de95b4758dde82f08a9ad769778198dbcd05cfb (patch)
tree408fd582bdaae20967d5a427b44a92580d19a1e2 /src/lib/libcrypto/rand/randfile.c
parent559cbe68580b0887f866a31a1a3c317ec21eade2 (diff)
downloadopenbsd-3de95b4758dde82f08a9ad769778198dbcd05cfb.tar.gz
openbsd-3de95b4758dde82f08a9ad769778198dbcd05cfb.tar.bz2
openbsd-3de95b4758dde82f08a9ad769778198dbcd05cfb.zip
Remove some stuff that isn't needed.
ok miod@ deraadt@
Diffstat (limited to 'src/lib/libcrypto/rand/randfile.c')
-rw-r--r--src/lib/libcrypto/rand/randfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/libcrypto/rand/randfile.c b/src/lib/libcrypto/rand/randfile.c
index 7f1428072d..10d511b8e8 100644
--- a/src/lib/libcrypto/rand/randfile.c
+++ b/src/lib/libcrypto/rand/randfile.c
@@ -110,7 +110,7 @@ int RAND_load_file(const char *file, long bytes)
110 /* If bytes >= 0, read up to 'bytes' bytes. 110 /* If bytes >= 0, read up to 'bytes' bytes.
111 * if bytes == -1, read complete file. */ 111 * if bytes == -1, read complete file. */
112 112
113 MS_STATIC unsigned char buf[BUFSIZE]; 113 unsigned char buf[BUFSIZE];
114#ifndef OPENSSL_NO_POSIX_IO 114#ifndef OPENSSL_NO_POSIX_IO
115 struct stat sb; 115 struct stat sb;
116#endif 116#endif