projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
27b1f13
)
Fix OPNESSL vs. OPENSSL typos [from HEAD].
author
Andy Polyakov
<appro@openssl.org>
Sun, 15 Jan 2012 13:40:40 +0000
(13:40 +0000)
committer
Andy Polyakov
<appro@openssl.org>
Sun, 15 Jan 2012 13:40:40 +0000
(13:40 +0000)
PR: 2613
Submitted by: Leena Heino
crypto/rand/randfile.c
patch
|
blob
|
history
diff --git
a/crypto/rand/randfile.c
b/crypto/rand/randfile.c
index bc7d9c58049df58b7ac1a098befff75ffa8eb712..030e07f41826f67a5c691520138b20c302166c9b 100644
(file)
--- a/
crypto/rand/randfile.c
+++ b/
crypto/rand/randfile.c
@@
-137,7
+137,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(OP
NE
SSL_NO_POSIX_IO)
+#if defined(S_IFBLK) && defined(S_IFCHR) && !defined(OP
EN
SSL_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