Swap to using proper windows pipes
authorMatt Caswell <matt@openssl.org>
Fri, 13 Nov 2015 11:22:21 +0000 (11:22 +0000)
committerMatt Caswell <matt@openssl.org>
Fri, 20 Nov 2015 23:37:17 +0000 (23:37 +0000)
commit2b2c78d4f0a73498739cfc0879299d7325c35160
tree2ed0601fe6fa8482bca8646a8cc0b290386e48f4
parente38565f536b7674ef507564b5c646712b1d7eed4
Swap to using proper windows pipes

We were using _pipe to create a pipe on windows. This uses the "int" type
for its file descriptor for compatibility. However most windows functions
expect to use a "HANDLE". Probably we could get away with just casting but
it seems more robust to use the proper type and main stream windows
functions.

Reviewed-by: Rich Salz <rsalz@openssl.org>
crypto/async/arch/async_null.c
crypto/async/arch/async_posix.c
crypto/async/arch/async_win.c
crypto/async/async.c
crypto/async/async_locl.h
include/openssl/async.h
test/asynctest.c