Fix loopargs_t object duplication into ASYNC context
authorFdaSilvaYY <fdasilvayy@gmail.com>
Wed, 17 Aug 2016 22:51:20 +0000 (00:51 +0200)
committerMatt Caswell <matt@openssl.org>
Mon, 22 Aug 2016 14:03:51 +0000 (15:03 +0100)
commitfb2141c773ab0c5dfc78cc97d2445362b8048389
tree85053848a6b93e4846548027db163f11a7918ca3
parent0038ad480b7c89925af55aec4b62cc3f43375617
Fix loopargs_t object duplication into ASYNC context

Code was relying on an implicit data-sharing through duplication of
loopargs_t pointer-members made by ASYNC_start_job().

Now share structure address instead of structure content.

Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
apps/speed.c