VMS open() doesn't take O_BINARY, but takes a context description
authorRichard Levitte <levitte@openssl.org>
Thu, 14 Jan 2016 13:08:49 +0000 (14:08 +0100)
committerRichard Levitte <levitte@openssl.org>
Thu, 14 Jan 2016 13:08:49 +0000 (14:08 +0100)
commitfbd03b0964329fa43f84b99a19b1ee98e8ad190c
treef249cff7a1f100d92c01f7457e4834f1b8a923ff
parent1cd5cc368f9c907b2d184b4643ddcac2a156f628
VMS open() doesn't take O_BINARY, but takes a context description

Tell open() O_BINARY on VMS doesn't make sense, as it's possible to
use more precise file attributes.  However, if we're still going to
fdopen() it in binary mode, we must set the fd in binary context.

Reviewed-by: Rich Salz <rsalz@openssl.org>
apps/apps.c