diff options
Diffstat (limited to 'src/lib/libcrypto/des/enc_writ.c')
-rw-r--r-- | src/lib/libcrypto/des/enc_writ.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/libcrypto/des/enc_writ.c b/src/lib/libcrypto/des/enc_writ.c index af5b8c2349..c2f032c9a6 100644 --- a/src/lib/libcrypto/des/enc_writ.c +++ b/src/lib/libcrypto/des/enc_writ.c | |||
@@ -153,7 +153,11 @@ int DES_enc_write(int fd, const void *_buf, int len, | |||
153 | { | 153 | { |
154 | /* eay 26/08/92 I was not doing writing from where we | 154 | /* eay 26/08/92 I was not doing writing from where we |
155 | * got up to. */ | 155 | * got up to. */ |
156 | #ifndef _WIN32 | ||
156 | i=write(fd,(void *)&(outbuf[j]),outnum-j); | 157 | i=write(fd,(void *)&(outbuf[j]),outnum-j); |
158 | #else | ||
159 | i=_write(fd,(void *)&(outbuf[j]),outnum-j); | ||
160 | #endif | ||
157 | if (i == -1) | 161 | if (i == -1) |
158 | { | 162 | { |
159 | #ifdef EINTR | 163 | #ifdef EINTR |