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
commitb8d0226baeb7d192c015a0db36bb7d77f17b744c (patch)
tree408fd582bdaae20967d5a427b44a92580d19a1e2 /src/lib/libcrypto/rand/randfile.c
parentda46bab8c0298f3edf0a0d6efc66fc7838b161e5 (diff)
downloadopenbsd-b8d0226baeb7d192c015a0db36bb7d77f17b744c.tar.gz
openbsd-b8d0226baeb7d192c015a0db36bb7d77f17b744c.tar.bz2
openbsd-b8d0226baeb7d192c015a0db36bb7d77f17b744c.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