Add test to show wrong behavior of ASYNC_WAIT_CTX
authorAndrea Grandi <andrea.grandi@intel.com>
Thu, 26 Jan 2017 03:17:54 +0000 (03:17 +0000)
committerMatt Caswell <matt@openssl.org>
Mon, 13 Feb 2017 15:45:11 +0000 (15:45 +0000)
commit5a0d86c0e33eb7893517bc11c6bde188e81d5290
treeb6e07ce9e84b79e0ee4b4ba363e747ef885e87af
parentca423a693a619b38fb96d94b0385f8ce91a8e759
Add test to show wrong behavior of ASYNC_WAIT_CTX

This happens when a fd is added and then immediately removed from the
ASYNC_WAIT_CTX before pausing the job.

Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2581)
(cherry picked from commit f44e63644d29e5908be52b7896d5031a5cf460eb)
test/asynctest.c