diff options
author | djm <> | 2010-10-01 22:59:01 +0000 |
---|---|---|
committer | djm <> | 2010-10-01 22:59:01 +0000 |
commit | fe047d8b632246cb2db3234a0a4f32e5c318857b (patch) | |
tree | 939b752540947d33507b3acc48d76a8bfb7c3dc3 /src/lib/libcrypto/des/enc_writ.c | |
parent | 2ea67f4aa254b09ded62e6e14fc893bbe6381579 (diff) | |
download | openbsd-fe047d8b632246cb2db3234a0a4f32e5c318857b.tar.gz openbsd-fe047d8b632246cb2db3234a0a4f32e5c318857b.tar.bz2 openbsd-fe047d8b632246cb2db3234a0a4f32e5c318857b.zip |
resolve conflicts, fix local changes
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 | } |