diff options
author | Richard Levitte <levitte@openssl.org> | 2011-03-19 11:58:14 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2011-03-19 11:58:14 +0100 |
commit | 537c982306039df02d1e9410dfe205639b547e7a (patch) | |
tree | 4fea2867dfd49eec250ecb40dd9a7339e6febff4 /apps/enc.c | |
parent | Typo. (diff) | |
download | openssl-537c982306039df02d1e9410dfe205639b547e7a.tar.xz openssl-537c982306039df02d1e9410dfe205639b547e7a.zip |
After some adjustments, apply the changes OpenSSL 1.0.0d on OpenVMS
submitted by Steven M. Schweda <sms@antinode.info>
Diffstat (limited to 'apps/enc.c')
-rw-r--r-- | apps/enc.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/enc.c b/apps/enc.c index c28d8b1948..076225c4cb 100644 --- a/apps/enc.c +++ b/apps/enc.c @@ -393,8 +393,10 @@ bad: if (inf == NULL) { +#ifndef OPENSSL_NO_SETVBUF_IONBF if (bufsize != NULL) setvbuf(stdin, (char *)NULL, _IONBF, 0); +#endif /* ndef OPENSSL_NO_SETVBUF_IONBF */ BIO_set_fp(in,stdin,BIO_NOCLOSE); } else @@ -447,8 +449,10 @@ bad: if (outf == NULL) { BIO_set_fp(out,stdout,BIO_NOCLOSE); +#ifndef OPENSSL_NO_SETVBUF_IONBF if (bufsize != NULL) setvbuf(stdout, (char *)NULL, _IONBF, 0); +#endif /* ndef OPENSSL_NO_SETVBUF_IONBF */ #ifdef OPENSSL_SYS_VMS { BIO *tmpbio = BIO_new(BIO_f_linebuffer()); |