Fix no-posix-io
authorRichard Levitte <levitte@openssl.org>
Sat, 16 Mar 2019 11:07:35 +0000 (12:07 +0100)
committerRichard Levitte <levitte@openssl.org>
Tue, 19 Mar 2019 06:31:42 +0000 (07:31 +0100)
commit93b1e74cbeaf117658dd1dfc868bd70d9f7ffc65
tree40ded7e60ffe750d3215b56df63687a98ff16c33
parentce1415ed2ce15305356cd028bcf7b9bc688d6d5c
Fix no-posix-io

'openssl pkeyutl' uses stat() to determine the file size when signing using
Ed25519/Ed448, and this was guarded with OPENSSL_NO_POSIX_IO.

It is however arguable if stat() is a POSIX IO function, considering
that it doesn't use file descriptors, and even more so since we use
stat() elsewhere without that guard.

This will allow test/recipes/20-test_pkeyutl.t to be able to do its
work for Ed25519/Ed448 signature tests.

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/8498)
apps/pkeyutl.c