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:
99bf516
)
Oops.
author
Dr. Stephen Henson
<steve@openssl.org>
Tue, 31 Mar 2009 21:39:54 +0000
(21:39 +0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Tue, 31 Mar 2009 21:39:54 +0000
(21:39 +0000)
crypto/des/enc_read.c
patch
|
blob
|
history
diff --git
a/crypto/des/enc_read.c
b/crypto/des/enc_read.c
index b86620f56823b3601a8062018d6600b420d09186..372ef667b83d92860dad45eda9a907714ec01c8f 100644
(file)
--- a/
crypto/des/enc_read.c
+++ b/
crypto/des/enc_read.c
@@
-150,7
+150,11
@@
int DES_enc_read(int fd, void *buf, int len, DES_key_schedule *sched,
/* first - get the length */
while (net_num < HDRSIZE)
{
+#ifndef _WIN32
i=read(fd,(void *)&(net[net_num]),HDRSIZE-net_num);
+#else
+ i=_read(fd,(void *)&(net[net_num]),HDRSIZE-net_num);
+#endif
#ifdef EINTR
if ((i == -1) && (errno == EINTR)) continue;
#endif