summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/des/enc_writ.c
diff options
context:
space:
mode:
authorjsing <>2015-02-12 03:54:07 +0000
committerjsing <>2015-02-12 03:54:07 +0000
commitdcd65cb98ec4a45e2b31359c006a41f9a4d5763a (patch)
treebd6d3898fadf04a420c9858c27346eac11278944 /src/lib/libcrypto/des/enc_writ.c
parent86af7c3070260922d654cfef98d3b100ccbd79d1 (diff)
downloadopenbsd-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.c6
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 @@
82int DES_enc_write(int fd, const void *_buf, int len, 82int 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 }