Explicitly test against NULL; do not use !p or similar
authorRich Salz <rsalz@akamai.com>
Mon, 16 Sep 2019 19:28:57 +0000 (15:28 -0400)
committerRichard Levitte <levitte@openssl.org>
Wed, 9 Oct 2019 19:32:15 +0000 (21:32 +0200)
commit12a765a5235f181c2f4992b615eb5f892c368e88
tree67ece1a3fb210bd4895aea73649773fc912a60d6
parent3a4e43de473ee80347036d78163889b6b1221210
Explicitly test against NULL; do not use !p or similar

Also added blanks lines after declarations in a couple of places.

Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/9916)
86 files changed:
apps/crl.c
apps/genpkey.c
apps/lib/apps.c
apps/pkcs12.c
apps/req.c
apps/ts.c
crypto/asn1/a_strnid.c
crypto/asn1/a_verify.c
crypto/asn1/ameth_lib.c
crypto/asn1/asn_mime.c
crypto/asn1/bio_ndef.c
crypto/asn1/d2i_pr.c
crypto/asn1/p5_pbev2.c
crypto/asn1/t_spki.c
crypto/asn1/tasn_dec.c
crypto/asn1/tasn_enc.c
crypto/asn1/tasn_fre.c
crypto/asn1/x_bignum.c
crypto/async/async.c
crypto/bn/bn_gf2m.c
crypto/cms/cms_env.c
crypto/cms/cms_ess.c
crypto/cms/cms_kari.c
crypto/cms/cms_lib.c
crypto/cms/cms_pwri.c
crypto/cms/cms_sd.c
crypto/cms/cms_smime.c
crypto/conf/conf_mod.c
crypto/dh/dh_ameth.c
crypto/dh/dh_pmeth.c
crypto/dsa/dsa_ameth.c
crypto/ec/ec_ameth.c
crypto/ec/ec_asn1.c
crypto/ec/ec_lib.c
crypto/engine/eng_dyn.c
crypto/engine/eng_openssl.c
crypto/engine/eng_pkey.c
crypto/engine/eng_table.c
crypto/err/err.c
crypto/evp/e_aes.c
crypto/evp/evp_pbe.c
crypto/evp/p5_crpt.c
crypto/evp/p_lib.c
crypto/evp/p_open.c
crypto/evp/pmeth_lib.c
crypto/ocsp/ocsp_ht.c
crypto/ocsp/ocsp_lib.c
crypto/pem/pem_pk8.c
crypto/pem/pem_pkey.c
crypto/pem/pvkfmt.c
crypto/pkcs12/p12_add.c
crypto/pkcs12/p12_crpt.c
crypto/pkcs12/p12_crt.c
crypto/pkcs12/p12_key.c
crypto/pkcs12/p12_kiss.c
crypto/pkcs12/p12_mutl.c
crypto/pkcs12/p12_npas.c
crypto/pkcs12/p12_p8e.c
crypto/pkcs7/pk7_doit.c
crypto/pkcs7/pk7_lib.c
crypto/pkcs7/pk7_smime.c
crypto/ts/ts_conf.c
crypto/ts/ts_rsp_sign.c
crypto/x509/by_dir.c
crypto/x509/v3_cpols.c
crypto/x509/v3_crld.c
crypto/x509/v3_info.c
crypto/x509/v3_ncons.c
crypto/x509/v3_pci.c
crypto/x509/v3_pcons.c
crypto/x509/v3_purp.c
crypto/x509/v3_sxnet.c
crypto/x509/v3_utl.c
crypto/x509/x509_trs.c
crypto/x509/x509_vfy.c
crypto/x509/x509_vpm.c
crypto/x509/x_all.c
crypto/x509/x_name.c
crypto/x509/x_pubkey.c
engines/e_capi.c
ssl/ssl_asn1.c
ssl/ssl_conf.c
ssl/ssl_lib.c
ssl/statem/statem_clnt.c
test/handshake_helper.c
test/testutil/stanza.c