Treat boolean functions as booleans
authorRob Percival <robpercival@google.com>
Mon, 7 Mar 2016 18:38:06 +0000 (18:38 +0000)
committerRich Salz <rsalz@openssl.org>
Wed, 9 Mar 2016 16:34:48 +0000 (11:34 -0500)
commit70073f3e3aeb3b7dd15f20b557a8340a197d976e
treeb4ed734542cef7b843b6c28b3bf9c065adc51a29
parent8c92c4eac091e1a588a980514e7f5fd2a517fefc
Treat boolean functions as booleans

Use "!x" instead of "x <= 0", as these functions never return a negative
value.

Reviewed-by: Emilia Käsper <emilia@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
apps/s_client.c
crypto/ct/ct_log.c
crypto/ct/ct_prn.c
crypto/ct/ct_vfy.c
include/openssl/ct.h