Fix setbuf use for VMS C
authorRichard Levitte <levitte@openssl.org>
Thu, 29 Mar 2018 08:34:11 +0000 (10:34 +0200)
committerRichard Levitte <levitte@openssl.org>
Thu, 29 Mar 2018 08:34:11 +0000 (10:34 +0200)
commit5848be0488c20591892f82a7c79c6d1637518b96
tree9d2718012541a32f8213a0af618b4a5d3179c271
parent5d322036b4afbd16afa2714539cf3f85eb7669c2
Fix setbuf use for VMS C

The VMS C RTL has setbuf() working for short pointers only, probably
the FILE pointer will always be in P0 (the lower 4GB).  Fortunately,
this only generates a warning about possible data loss (doesn't apply
in this case) that we can simply turn off.

Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/5789)
crypto/rand/randfile.c