Fix aix compile error in cmp_ctx_test.c
authorShane Lontis <shane.lontis@oracle.com>
Fri, 1 May 2020 07:09:01 +0000 (17:09 +1000)
committerShane Lontis <shane.lontis@oracle.com>
Mon, 4 May 2020 23:46:23 +0000 (09:46 +1000)
commit3327c8d6f3b6d9509559782aec28b78013fb72ba
tree524fddd1e8765370e88b918161ece51a9be14dc3
parent95cf64404cabac96f32e72b5673e2702627e6b4c
Fix aix compile error in cmp_ctx_test.c

Errors were of the form 1506-226 (S) The ":" operator is not allowed between "int" and "char*".
I think it is valid syntax the way it was written, But just rewrote so it compiled.
The aix compiler must be looking at the type of blah() when doing test ? (blah(), NULL) : X.

Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/11698)
test/cmp_ctx_test.c