From dcd65cb98ec4a45e2b31359c006a41f9a4d5763a Mon Sep 17 00:00:00 2001 From: jsing <> Date: Thu, 12 Feb 2015 03:54:07 +0000 Subject: If you do not support POSIX I/O then you're not tall enough to ride... ok tedu@ --- src/lib/libcrypto/des/enc_writ.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/lib/libcrypto/des/enc_writ.c') 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 @@ -/* $OpenBSD: enc_writ.c,v 1.13 2014/10/22 13:02:04 jsing Exp $ */ +/* $OpenBSD: enc_writ.c,v 1.14 2015/02/12 03:54:07 jsing Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -82,9 +82,6 @@ int DES_enc_write(int fd, const void *_buf, int len, DES_key_schedule *sched, DES_cblock *iv) { -#if defined(OPENSSL_NO_POSIX_IO) - return (-1); -#else #ifdef _LIBC extern unsigned long time(); extern int write(); @@ -173,5 +170,4 @@ int DES_enc_write(int fd, const void *_buf, int len, } return(len); -#endif /* OPENSSL_NO_POSIX_IO */ } -- cgit v1.2.3-55-g6feb