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 c2f032c9a6..2353ac1e89 100644 --- a/src/lib/libcrypto/des/enc_writ.c +++ b/src/lib/libcrypto/des/enc_writ.c | |||
@@ -80,6 +80,9 @@ | |||
80 | int DES_enc_write(int fd, const void *_buf, int len, | 80 | int DES_enc_write(int fd, const void *_buf, int len, |
81 | DES_key_schedule *sched, DES_cblock *iv) | 81 | DES_key_schedule *sched, DES_cblock *iv) |
82 | { | 82 | { |
83 | #if defined(OPENSSL_NO_POSIX_IO) | ||
84 | return (-1); | ||
85 | #else | ||
83 | #ifdef _LIBC | 86 | #ifdef _LIBC |
84 | extern unsigned long time(); | 87 | extern unsigned long time(); |
85 | extern int write(); | 88 | extern int write(); |
@@ -172,4 +175,5 @@ int DES_enc_write(int fd, const void *_buf, int len, | |||
172 | } | 175 | } |
173 | 176 | ||
174 | return(len); | 177 | return(len); |
178 | #endif /* OPENSSL_NO_POSIX_IO */ | ||
175 | } | 179 | } |