diff options
| author | jsing <> | 2015-02-12 03:54:07 +0000 |
|---|---|---|
| committer | jsing <> | 2015-02-12 03:54:07 +0000 |
| commit | 1c7b61ccfe1cdbe10dcf7459d3bc363f5c3c6b4d (patch) | |
| tree | bd6d3898fadf04a420c9858c27346eac11278944 /src/lib/libcrypto/des/enc_writ.c | |
| parent | 8d4b1fb71207d6933ecdeebe525157d57c696491 (diff) | |
| download | openbsd-1c7b61ccfe1cdbe10dcf7459d3bc363f5c3c6b4d.tar.gz openbsd-1c7b61ccfe1cdbe10dcf7459d3bc363f5c3c6b4d.tar.bz2 openbsd-1c7b61ccfe1cdbe10dcf7459d3bc363f5c3c6b4d.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 | } |
