提交 8e93eff8 编写于 作者: D Dr. Stephen Henson

Update from 0.9.8-stable

上级 70b2186e
...@@ -150,11 +150,7 @@ int DES_enc_read(int fd, void *buf, int len, DES_key_schedule *sched, ...@@ -150,11 +150,7 @@ int DES_enc_read(int fd, void *buf, int len, DES_key_schedule *sched,
/* first - get the length */ /* first - get the length */
while (net_num < HDRSIZE) while (net_num < HDRSIZE)
{ {
#ifndef _WIN32
i=read(fd,(void *)&(net[net_num]),HDRSIZE-net_num); i=read(fd,(void *)&(net[net_num]),HDRSIZE-net_num);
#else
i=_read(fd,(void *)&(net[net_num]),HDRSIZE-net_num);
#endif
#ifdef EINTR #ifdef EINTR
if ((i == -1) && (errno == EINTR)) continue; if ((i == -1) && (errno == EINTR)) continue;
#endif #endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册