diff options
author | jsing <> | 2015-02-12 03:54:07 +0000 |
---|---|---|
committer | jsing <> | 2015-02-12 03:54:07 +0000 |
commit | dcd65cb98ec4a45e2b31359c006a41f9a4d5763a (patch) | |
tree | bd6d3898fadf04a420c9858c27346eac11278944 /src/lib/libcrypto/des/enc_writ.c | |
parent | 86af7c3070260922d654cfef98d3b100ccbd79d1 (diff) | |
download | openbsd-dcd65cb98ec4a45e2b31359c006a41f9a4d5763a.tar.gz openbsd-dcd65cb98ec4a45e2b31359c006a41f9a4d5763a.tar.bz2 openbsd-dcd65cb98ec4a45e2b31359c006a41f9a4d5763a.zip |
If you do not support POSIX I/O then you're not tall enough to ride...
ok tedu@
Diffstat (limited to 'src/lib/libcrypto/des/enc_writ.c')
-rw-r--r-- | src/lib/libcrypto/des/enc_writ.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/lib/libcrypto/des/enc_writ.c b/src/lib/libcrypto/des/enc_writ.c index 0130c2c6d9..59f3878de9 100644 --- a/src/lib/libcrypto/des/enc_writ.c +++ b/src/lib/libcrypto/des/enc_writ.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: enc_writ.c,v 1.13 2014/10/22 13:02:04 jsing Exp $ */ | 1 | /* $OpenBSD: enc_writ.c,v 1.14 2015/02/12 03:54:07 jsing Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -82,9 +82,6 @@ | |||
82 | int DES_enc_write(int fd, const void *_buf, int len, | 82 | int DES_enc_write(int fd, const void *_buf, int len, |
83 | DES_key_schedule *sched, DES_cblock *iv) | 83 | DES_key_schedule *sched, DES_cblock *iv) |
84 | { | 84 | { |
85 | #if defined(OPENSSL_NO_POSIX_IO) | ||
86 | return (-1); | ||
87 | #else | ||
88 | #ifdef _LIBC | 85 | #ifdef _LIBC |
89 | extern unsigned long time(); | 86 | extern unsigned long time(); |
90 | extern int write(); | 87 | extern int write(); |
@@ -173,5 +170,4 @@ int DES_enc_write(int fd, const void *_buf, int len, | |||
173 | } | 170 | } |
174 | 171 | ||
175 | return(len); | 172 | return(len); |
176 | #endif /* OPENSSL_NO_POSIX_IO */ | ||
177 | } | 173 | } |