projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Stupid typo
[oweals/openssl.git]
/
crypto
/
des
/
enc_writ.c
diff --git
a/crypto/des/enc_writ.c
b/crypto/des/enc_writ.c
index af5b8c2349bba80fd02dba4d0314fb0e3d3819aa..c2f032c9a6af9f66b37badcc22fe52df13d64e34 100644
(file)
--- a/
crypto/des/enc_writ.c
+++ b/
crypto/des/enc_writ.c
@@
-153,7
+153,11
@@
int DES_enc_write(int fd, const void *_buf, int len,
{
/* eay 26/08/92 I was not doing writing from where we
* got up to. */
+#ifndef _WIN32
i=write(fd,(void *)&(outbuf[j]),outnum-j);
+#else
+ i=_write(fd,(void *)&(outbuf[j]),outnum-j);
+#endif
if (i == -1)
{
#ifdef EINTR