apps: improve hygeine for SET_EXPECT macro
authorBenjamin Kaduk <bkaduk@akamai.com>
Sat, 8 May 2021 15:49:36 +0000 (08:49 -0700)
committerBenjamin Kaduk <kaduk@mit.edu>
Wed, 12 May 2021 20:30:44 +0000 (13:30 -0700)
commit466cab4758289f91215eada905cf334d334830fa
treec12613bac780b1222c19d3339d031981f6cb9265
parent80c25611abd7067815943187f36f5e1879201678
apps: improve hygeine for SET_EXPECT macro

Wrap all parameters in parentheses in the expansion, make explicit the
use of the 'expect' input, wrap the whole expression in parentheses, and
remove duplicate semicolon.

Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15203)
apps/lib/apps.c