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_read.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_read.c')
-rw-r--r-- | src/lib/libcrypto/des/enc_read.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/lib/libcrypto/des/enc_read.c b/src/lib/libcrypto/des/enc_read.c index e4680af4f2..f5659150d3 100644 --- a/src/lib/libcrypto/des/enc_read.c +++ b/src/lib/libcrypto/des/enc_read.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: enc_read.c,v 1.14 2014/07/11 08:44:48 jsing Exp $ */ | 1 | /* $OpenBSD: enc_read.c,v 1.15 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 | * |
@@ -88,9 +88,6 @@ int DES_rw_mode = DES_PCBC_MODE; | |||
88 | int DES_enc_read(int fd, void *buf, int len, DES_key_schedule *sched, | 88 | int DES_enc_read(int fd, void *buf, int len, DES_key_schedule *sched, |
89 | DES_cblock *iv) | 89 | DES_cblock *iv) |
90 | { | 90 | { |
91 | #if defined(OPENSSL_NO_POSIX_IO) | ||
92 | return(0); | ||
93 | #else | ||
94 | /* data to be unencrypted */ | 91 | /* data to be unencrypted */ |
95 | int net_num=0; | 92 | int net_num=0; |
96 | static unsigned char *net=NULL; | 93 | static unsigned char *net=NULL; |
@@ -228,6 +225,5 @@ int DES_enc_read(int fd, void *buf, int len, DES_key_schedule *sched, | |||
228 | } | 225 | } |
229 | } | 226 | } |
230 | return num; | 227 | return num; |
231 | #endif /* OPENSSL_NO_POSIX_IO */ | ||
232 | } | 228 | } |
233 | 229 | ||