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:
49cb959
)
Fix other read call too.
author
Dr. Stephen Henson
<steve@openssl.org>
Tue, 31 Mar 2009 21:57:26 +0000
(21:57 +0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Tue, 31 Mar 2009 21:57:26 +0000
(21:57 +0000)
crypto/des/enc_read.c
patch
|
blob
|
history
diff --git
a/crypto/des/enc_read.c
b/crypto/des/enc_read.c
index c1f46810d245e353005fe582de55289a82c30223..edb6620d085697a8c887d9dcf93e783036795a40 100644
(file)
--- a/
crypto/des/enc_read.c
+++ b/
crypto/des/enc_read.c
@@
-176,7
+176,11
@@
int DES_enc_read(int fd, void *buf, int len, DES_key_schedule *sched,
net_num=0;
while (net_num < rnum)
{
+#ifndef OPENSSL_SYS_WIN32
i=read(fd,(void *)&(net[net_num]),rnum-net_num);
+#else
+ i=_read(fd,(void *)&(net[net_num]),rnum-net_num);
+#endif
#ifdef EINTR
if ((i == -1) && (errno == EINTR)) continue;
#endif