Fix Linux crash
authorMatt Caswell <matt@openssl.org>
Fri, 9 Oct 2015 14:48:30 +0000 (15:48 +0100)
committerMatt Caswell <matt@openssl.org>
Fri, 20 Nov 2015 23:35:19 +0000 (23:35 +0000)
commit4abc76811a74b45c8bab1bbe3add4b58b374a04b
treea531035908ff6e2bbf713e0ea4a6e19fa1ce8beb
parent05a6347fec744bd11ef94dd2ac9f68b4f679de8e
Fix Linux crash

If config'd without -d (--debug), asynctest was crashing with:
*** longjmp causes uninitialized stack frame ***

This is because gcc will add certain checks for some functions
(including longjmp). The checks assume you can only longjmp down the
stack not up. However, if we are actually jumping to a different
fibre then it can appear as if we are going up the stack when we are
not really. This change disables the check.

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