aboutsummaryrefslogtreecommitdiff
path: root/crypto/rand/randfile.c
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2012-01-15 13:39:10 +0000
committerAndy Polyakov <appro@openssl.org>2012-01-15 13:39:10 +0000
commit0ecedec82dd3fd44d54f3f7997fab91c079a32a7 (patch)
treedcc459b2222c6889a9453a9958fec271f8fec5a2 /crypto/rand/randfile.c
parent9bd20155badd62e19d578187b931c861d8759b16 (diff)
downloadopenssl-0ecedec82dd3fd44d54f3f7997fab91c079a32a7.zip
openssl-0ecedec82dd3fd44d54f3f7997fab91c079a32a7.tar.gz
openssl-0ecedec82dd3fd44d54f3f7997fab91c079a32a7.tar.bz2
Fix OPNESSL vs. OPENSSL typos.
PR: 2613 Submitted by: Leena Heino
Diffstat (limited to 'crypto/rand/randfile.c')
-rw-r--r--crypto/rand/randfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/rand/randfile.c b/crypto/rand/randfile.c
index 5b1109d..bd42f21 100644
--- a/crypto/rand/randfile.c
+++ b/crypto/rand/randfile.c
@@ -140,7 +140,7 @@ int RAND_load_file(const char *file, long bytes)
in=fopen(file,"rb");
#endif
if (in == NULL) goto err;
-#if defined(S_IFBLK) && defined(S_IFCHR) && !defined(OPNESSL_NO_POSIX_IO)
+#if defined(S_IFBLK) && defined(S_IFCHR) && !defined(OPENSSL_NO_POSIX_IO)
if (sb.st_mode & (S_IFBLK | S_IFCHR)) {
/* this file is a device. we don't want read an infinite number
* of bytes from a random device, nor do we want to use buffered