if() without {} in openssl 1.0.1f/crypto

After the disclosure of the source behind the iOS/OS X TLS/SSL bug being a caused by missing curly braces following an if statement, I decided to see if such a problem might happen to openssl. I ran N’SIQ Cpp Style on openssl-1.0.1f‘s crypto directory. I trimmed the nsiqcppstyle ruleset down to one rule which checks for lack of braces on an if, while, for, or do statement, then further modified that rule to only check if statements.

The report is presented below. Note that this is just openssl-1.0.1f/crypto, and not the full OpenSSL source tree.

nsiqcppstyle : N'SIQ Cpp Style ver 0.2.2.13
======================================================================================
Update: checking for update

http://nsiqcppstyle.appspot.com/update/linux

======================================================================================
= Analyzing crypto
======================================================================================
 - RULE_4_5_B_use_braces_even_for_one_if_statement is applied.
======================================================================================
Filter Scope "default" is applied.
Current Filter Setting (Following is applied sequentially)
 1. /.cvs/ is excluded
 2. /.svn/ is excluded
Current File extension and Language Settings
 C/C++=c,cxx,h,hpp,cpp,hxx
======================================================================================
[processing lines removed]
=================================== Summary Report ===================================
 ** Total Available Rules : 48
 ** Total Applied Rules : 1
 ** Total Violated Rules : 1
 ** Total Errors Occurs : 10195
 ** Total Analyzed Files : 828
 ** Total Violated Files Count: 512
 ** Build Quality : 38.16%
================================ Violated Rule Details ===============================
 - RULE_4_5_B_use_braces_even_for_one_if_statement rule violated : 10195
================================ Violated File Details ===============================
 - /home/adamf/openssl-1.0.1f/crypto/x509/x509spki.c violated in total : 3
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 3
 - /home/adamf/openssl-1.0.1f/crypto/ec/ec2_mult.c violated in total : 69
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 69
 - /home/adamf/openssl-1.0.1f/crypto/hmac/hm_pmeth.c violated in total : 15
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 15
 - /home/adamf/openssl-1.0.1f/crypto/bn/bn_exp.c violated in total : 97
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 97
 - /home/adamf/openssl-1.0.1f/crypto/engine/eng_ctrl.c violated in total : 14
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 14
 - /home/adamf/openssl-1.0.1f/crypto/bio/bss_sock.c violated in total : 7
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 7
 - /home/adamf/openssl-1.0.1f/crypto/dso/dso_vms.c violated in total : 20
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 20
 - /home/adamf/openssl-1.0.1f/crypto/cms/cms_io.c violated in total : 4
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 4
 - /home/adamf/openssl-1.0.1f/crypto/err/err_prn.c violated in total : 1
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 1
 - /home/adamf/openssl-1.0.1f/crypto/bf/bf_opts.c violated in total : 1
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 1
 - /home/adamf/openssl-1.0.1f/crypto/evp/e_idea.c violated in total : 3
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 3
 - /home/adamf/openssl-1.0.1f/crypto/bio/bss_mem.c violated in total : 9
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 9
 - /home/adamf/openssl-1.0.1f/crypto/x509v3/pcy_map.c violated in total : 5
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 5
 - /home/adamf/openssl-1.0.1f/crypto/x509/x509_lu.c violated in total : 39
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 39
 - /home/adamf/openssl-1.0.1f/crypto/s390xcap.c violated in total : 2
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 2
 - /home/adamf/openssl-1.0.1f/crypto/o_init.c violated in total : 1
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 1
 - /home/adamf/openssl-1.0.1f/crypto/asn1_pkey.c violated in total : 10
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 10
 - /home/adamf/openssl-1.0.1f/crypto/idea/i_ecb.c violated in total : 2
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 2
 - /home/adamf/openssl-1.0.1f/crypto/dso/dso_dlfcn.c violated in total : 10
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 10
 - /home/adamf/openssl-1.0.1f/cryptoss_req_print.c violated in total : 5
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 5
 - /home/adamf/openssl-1.0.1f/crypto/ocsp/ocsp_ext.c violated in total : 35
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 35
 - /home/adamf/openssl-1.0.1f/crypto/pkcs12/p12_key.c violated in total : 15
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 15
 - /home/adamf/openssl-1.0.1f/crypto/uid.c violated in total : 2
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 2
 - /home/adamf/openssl-1.0.1f/crypto/evp/e_aes_cbc_hmac_sha1.c violated in total : 15
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 15
 - /home/adamf/openssl-1.0.1f/crypto/x509v3/v3_purp.c violated in total : 77
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 77
 - /home/adamf/openssl-1.0.1f/crypto/asn1/x_long.c violated in total : 11
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 11
 - /home/adamf/openssl-1.0.1f/crypto/ec/ec_lib.c violated in total : 69
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 69
 - /home/adamf/openssl-1.0.1f/crypto/engine/eng_rdrand.c violated in total : 5
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 5
 - /home/adamf/openssl-1.0.1f/crypto/des/read_pwd.c violated in total : 24
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 24
 - /home/adamf/openssl-1.0.1f/crypto/jpake/jpake.c violated in total : 5
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 5
 - /home/adamf/openssl-1.0.1f/crypto/modes/ccm128.c violated in total : 17
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 17
 - /home/adamf/openssl-1.0.1f/crypto/engine/eng_init.c violated in total : 4
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 4
 - /home/adamf/openssl-1.0.1f/crypto/bio/bss_rtcp.c violated in total : 11
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 11
 - /home/adamf/openssl-1.0.1f/crypto/evp/pmeth_gn.c violated in total : 15
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 15
 - /home/adamf/openssl-1.0.1f/crypto/engine/enginetest.c violated in total : 14
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 14
 - /home/adamf/openssl-1.0.1f/crypto/rsa/rsa_oaep.c violated in total : 13
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 13
 - /home/adamf/openssl-1.0.1f/crypto/engine/eng_fat.c violated in total : 24
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 24
 - /home/adamf/openssl-1.0.1f/crypto/bf/bf_skey.c violated in total : 5
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 5
 - /home/adamf/openssl-1.0.1f/crypto/ec/ecp_nistp256.c violated in total : 46
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 46
 - /home/adamf/openssl-1.0.1f/crypto/cms/cms_lib.c violated in total : 39
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 39
 - /home/adamf/openssl-1.0.1f/crypto/rsa/rsa_lib.c violated in total : 23
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 23
 - /home/adamf/openssl-1.0.1f/crypto/asn1_crl.c violated in total : 4
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 4
 - /home/adamf/openssl-1.0.1f/crypto/x509v3/v3_enum.c violated in total : 1
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 1
 - /home/adamf/openssl-1.0.1f/cryptoxt_dbxt_db.c violated in total : 37
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 37
 - /home/adamf/openssl-1.0.1f/crypto/des/enc_writ.c violated in total : 7
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 7
 - /home/adamf/openssl-1.0.1f/crypto/conf/conf_sap.c violated in total : 1
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 1
 - /home/adamf/openssl-1.0.1f/crypto/bn/bn_sqr.c violated in total : 13
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 13
 - /home/adamf/openssl-1.0.1f/crypto/ec/ec2_oct.c violated in total : 30
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 30
 - /home/adamf/openssl-1.0.1f/crypto/asn1/a_object.c violated in total : 36
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 36
 - /home/adamf/openssl-1.0.1f/crypto/camellia/cmll_cbc.c violated in total : 2
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 2
 - /home/adamf/openssl-1.0.1f/crypto/whrlpool/wp_dgst.c violated in total : 11
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 11
 - /home/adamf/openssl-1.0.1f/crypto/bn/exptest.c violated in total : 6
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 6
 - /home/adamf/openssl-1.0.1f/crypto/ecdh/ech_lib.c violated in total : 10
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 10
 - /home/adamf/openssl-1.0.1f/crypto/dsa/dsa_key.c violated in total : 13
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 13
 - /home/adamf/openssl-1.0.1f/crypto/x509/x509_set.c violated in total : 8
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 8
 - /home/adamf/openssl-1.0.1f/crypto/err/err.c violated in total : 44
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 44
 - /home/adamf/openssl-1.0.1f/crypto/hmac/hmac.c violated in total : 21
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 21
 - /home/adamf/openssl-1.0.1f/crypto/rsa/rsa_asn1.c violated in total : 1
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 1
 - /home/adamf/openssl-1.0.1f/crypto/evp/m_sigver.c violated in total : 24
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 24
 - /home/adamf/openssl-1.0.1f/crypto/asn1/x_algor.c violated in total : 11
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 11
 - /home/adamf/openssl-1.0.1f/crypto/seed/seed_cbc.c violated in total : 2
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 2
 - /home/adamf/openssl-1.0.1f/crypto/rand/rand_egd.c violated in total : 15
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 15
 - /home/adamf/openssl-1.0.1f/crypto/ec/ec_cvt.c violated in total : 3
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 3
 - /home/adamf/openssl-1.0.1f/crypto/bn/bn_ctx.c violated in total : 17
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 17
 - /home/adamf/openssl-1.0.1f/crypto/mdc2/mdc2dgst.c violated in total : 2
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 2
 - /home/adamf/openssl-1.0.1f/crypto/bio/bss_fd.c violated in total : 8
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 8
 - /home/adamf/openssl-1.0.1f/crypto/x509v3/v3_bcons.c violated in total : 2
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 2
 - /home/adamf/openssl-1.0.1f/crypto/o_fips.c violated in total : 4
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 4
 - /home/adamf/openssl-1.0.1f/crypto/modes/xts128.c violated in total : 3
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 3
 - /home/adamf/openssl-1.0.1f/crypto/x509v3/v3_alt.c violated in total : 32
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 32
 - /home/adamf/openssl-1.0.1f/crypto/sha/sha256t.c violated in total : 6
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 6
 - /home/adamf/openssl-1.0.1f/crypto/o_str.c violated in total : 4
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 4
 - /home/adamf/openssl-1.0.1f/crypto/engineb_dsa.c violated in total : 2
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 2
 - /home/adamf/openssl-1.0.1f/crypto/bn/bn_add.c violated in total : 11
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 11
 - /home/adamf/openssl-1.0.1f/crypto/x509v3/v3_pcons.c violated in total : 2
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 2
 - /home/adamf/openssl-1.0.1f/crypto/whrlpool/wp_test.c violated in total : 10
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 10
 - /home/adamf/openssl-1.0.1f/crypto/asn1/x_attrib.c violated in total : 6
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 6
 - /home/adamf/openssl-1.0.1f/crypto/bn/bn_mod.c violated in total : 24
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 24
 - /home/adamf/openssl-1.0.1f/crypto/ec/ecp_nistp224.c violated in total : 46
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 46
 - /home/adamf/openssl-1.0.1f/crypto/x509v3/pcy_tree.c violated in total : 75
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 75
 - /home/adamf/openssl-1.0.1f/crypto/asn1asn_enc.c violated in total : 51
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 51
 - /home/adamf/openssl-1.0.1f/crypto/evp/digest.c violated in total : 16
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 16
 - /home/adamf/openssl-1.0.1f/crypto/bn/bn_depr.c violated in total : 4
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 4
 - /home/adamf/openssl-1.0.1f/crypto/evp/e_des.c violated in total : 8
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 8
 - /home/adamf/openssl-1.0.1f/crypto/ec/ec_mult.c violated in total : 52
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 52
 - /home/adamf/openssl-1.0.1f/crypto/asn1/x_x509.c violated in total : 6
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 6
 - /home/adamf/openssl-1.0.1f/crypto/cversion.c violated in total : 1
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 1
 - /home/adamf/openssl-1.0.1f/crypto/pem/pem_seal.c violated in total : 11
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 11
 - /home/adamf/openssl-1.0.1f/crypto/x509/x509_vpm.c violated in total : 23
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 23
 - /home/adamf/openssl-1.0.1f/crypto/rc4/rc4s.cpp violated in total : 3
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 3
 - /home/adamf/openssl-1.0.1f/crypto/evp/names.c violated in total : 9
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 9
 - /home/adamf/openssl-1.0.1f/crypto/ocsp/ocsp_lib.c violated in total : 28
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 28
 - /home/adamf/openssl-1.0.1f/crypto/asn1asn_dec.c violated in total : 68
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 68
 - /home/adamf/openssl-1.0.1f/crypto/asn1/asn_mime.c violated in total : 67
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 67
 - /home/adamf/openssl-1.0.1f/crypto/asn1/a_gentm.c violated in total : 21
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 21
 - /home/adamf/openssl-1.0.1f/crypto/md2/md2test.c violated in total : 2
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 2
 - /home/adamf/openssl-1.0.1f/crypto/asn1/a_set.c violated in total : 11
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 11
 - /home/adamf/openssl-1.0.1f/crypto/asn1/x_crl.c violated in total : 35
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 35
 - /home/adamf/openssl-1.0.1f/crypto/engineb_rsa.c violated in total : 2
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 2
 - /home/adamf/openssl-1.0.1f/crypto/dh/dhtest.c violated in total : 21
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 21
 - /home/adamf/openssl-1.0.1f/crypto/ecdsa/ecs_vrf.c violated in total : 3
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 3
 - /home/adamf/openssl-1.0.1f/crypto/des/ofb_enc.c violated in total : 5
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 5
 - /home/adamf/openssl-1.0.1f/crypto/x509/by_dir.c violated in total : 24
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 24
 - /home/adamf/openssl-1.0.1f/crypto/md4/md4s.cpp violated in total : 3
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 3
 - /home/adamf/openssl-1.0.1f/crypto/conf/conf_api.c violated in total : 22
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 22
 - /home/adamf/openssl-1.0.1f/crypto/mem.c violated in total : 44
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 44
 - /home/adamf/openssl-1.0.1f/crypto/pkcs12/p12_crpt.c violated in total : 2
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 2
 - /home/adamf/openssl-1.0.1f/crypto/asn1_x509.c violated in total : 73
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 73
 - /home/adamf/openssl-1.0.1f/crypto/bio/bf_lbuf.c violated in total : 24
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 24
 - /home/adamf/openssl-1.0.1f/crypto/asn1/p8_pkey.c violated in total : 9
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 9
 - /home/adamf/openssl-1.0.1f/crypto/evp/pmeth_fn.c violated in total : 15
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 15
 - /home/adamf/openssl-1.0.1f/crypto/md2/md2.c violated in total : 1
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 1
 - /home/adamf/openssl-1.0.1f/crypto/asn1/p5_pbev2.c violated in total : 25
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 25
 - /home/adamf/openssl-1.0.1f/crypto/x509/x509_v3.c violated in total : 35
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 35
 - /home/adamf/openssl-1.0.1f/crypto/modes/cbc128.c violated in total : 1
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 1
 - /home/adamf/openssl-1.0.1f/crypto/asn1/a_bitstr.c violated in total : 28
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 28
 - /home/adamf/openssl-1.0.1f/crypto/pkcs12/p12_crt.c violated in total : 47
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 47
 - /home/adamf/openssl-1.0.1f/crypto/rc5/rc5test.c violated in total : 3
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 3
 - /home/adamf/openssl-1.0.1f/crypto/asn1/f_int.c violated in total : 20
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 20
 - /home/adamf/openssl-1.0.1f/crypto/evp/e_rc2.c violated in total : 10
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 10
 - /home/adamf/openssl-1.0.1f/crypto/aes/aes_wrap.c violated in total : 13
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 13
 - /home/adamf/openssl-1.0.1f/crypto/dsa/dsa_prn.c violated in total : 2
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 2
 - /home/adamf/openssl-1.0.1f/crypto/objects/obj_lib.c violated in total : 11
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 11
 - /home/adamf/openssl-1.0.1f/crypto/ecdh/ech_key.c violated in total : 1
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 1
 - /home/adamf/openssl-1.0.1f/crypto/ec/ec_curve.c violated in total : 10
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 10
 - /home/adamf/openssl-1.0.1f/crypto/cast/castopts.c violated in total : 1
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 1
 - /home/adamf/openssl-1.0.1f/crypto/aes/aes_core.c violated in total : 12
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 12
 - /home/adamf/openssl-1.0.1f/crypto/bio/bio_lib.c violated in total : 46
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 46
 - /home/adamf/openssl-1.0.1f/crypto/x509v3/v3_prn.c violated in total : 24
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 24
 - /home/adamf/openssl-1.0.1f/crypto/dh/dh_depr.c violated in total : 2
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 2
 - /home/adamf/openssl-1.0.1f/crypto/engine/eng_lib.c violated in total : 11
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 11
 - /home/adamf/openssl-1.0.1f/crypto/bio/bf_buff.c violated in total : 37
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 37
 - /home/adamf/openssl-1.0.1f/crypto/dh/dh_asn1.c violated in total : 1
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 1
 - /home/adamf/openssl-1.0.1f/crypto/modes/gcm128.c violated in total : 82
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 82
 - /home/adamf/openssl-1.0.1f/crypto/lhash/lhash.c violated in total : 14
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 14
 - /home/adamf/openssl-1.0.1f/crypto/asn1/a_d2i_fp.c violated in total : 10
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 10
 - /home/adamf/openssl-1.0.1f/crypto/md5/md5s.cpp violated in total : 3
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 3
 - /home/adamf/openssl-1.0.1f/crypto/rsa/rsa_pk1.c violated in total : 4
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 4
 - /home/adamf/openssl-1.0.1f/crypto/rc2/rc2_ecb.c violated in total : 2
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 2
 - /home/adamf/openssl-1.0.1f/crypto/asn1/a_sign.c violated in total : 15
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 15
 - /home/adamf/openssl-1.0.1f/crypto/bio/b_print.c violated in total : 49
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 49
 - /home/adamf/openssl-1.0.1f/crypto/hmac/hmactest.c violated in total : 1
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 1
 - /home/adamf/openssl-1.0.1f/crypto/buffer/buffer.c violated in total : 5
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 5
 - /home/adamf/openssl-1.0.1f/crypto/pkcs7/pk7_doit.c violated in total : 94
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 94
 - /home/adamf/openssl-1.0.1f/crypto/ec/ec_oct.c violated in total : 5
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 5
 - /home/adamf/openssl-1.0.1f/crypto/des/qud_cksm.c violated in total : 2
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 2
 - /home/adamf/openssl-1.0.1f/crypto/objects/obj_dat.c violated in total : 74
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 74
 - /home/adamf/openssl-1.0.1f/crypto/asn1/d2i_pr.c violated in total : 6
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 6
 - /home/adamf/openssl-1.0.1f/crypto/camellia/camellia.c violated in total : 2
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 2
 - /home/adamf/openssl-1.0.1f/crypto/x509v3/v3_sxnet.c violated in total : 10
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 10
 - /home/adamf/openssl-1.0.1f/crypto/rsa/rsa_ameth.c violated in total : 79
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 79
 - /home/adamf/openssl-1.0.1f/crypto/x509v3/v3_crld.c violated in total : 54
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 54
 - /home/adamf/openssl-1.0.1f/crypto/engineb_ecdsa.c violated in total : 2
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 2
 - /home/adamf/openssl-1.0.1f/crypto/pem/pem_info.c violated in total : 32
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 32
 - /home/adamf/openssl-1.0.1f/crypto/engineb_rand.c violated in total : 2
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 2
 - /home/adamf/openssl-1.0.1f/crypto/buffer/buf_str.c violated in total : 4
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 4
 - /home/adamf/openssl-1.0.1f/crypto/asn1asn_prn.c violated in total : 66
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 66
 - /home/adamf/openssl-1.0.1f/crypto/des/fcrypt.c violated in total : 3
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 3
 - /home/adamf/openssl-1.0.1f/crypto/ecdsa/ecs_lib.c violated in total : 13
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 13
 - /home/adamf/openssl-1.0.1f/crypto/cms/cms_cd.c violated in total : 3
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 3
 - /home/adamf/openssl-1.0.1f/crypto/evp/bio_ok.c violated in total : 34
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 34
 - /home/adamf/openssl-1.0.1f/crypto/asn1/n_pkey.c violated in total : 18
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 18
 - /home/adamf/openssl-1.0.1f/cryptohreadsh-lock.c violated in total : 2
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 2
 - /home/adamf/openssl-1.0.1f/crypto/x509/x509_cmp.c violated in total : 19
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 19
 - /home/adamf/openssl-1.0.1f/crypto/md2/md2_dgst.c violated in total : 3
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 3
 - /home/adamf/openssl-1.0.1f/crypto/bio/bss_conn.c violated in total : 34
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 34
 - /home/adamf/openssl-1.0.1f/crypto/engine/eng_rsax.c violated in total : 41
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 41
 - /home/adamf/openssl-1.0.1f/crypto/bn/bn_recp.c violated in total : 27
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 27
 - /home/adamf/openssl-1.0.1f/cryptoss_asn1.c violated in total : 3
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 3
 - /home/adamf/openssl-1.0.1f/crypto/ocsp/ocsp_ht.c violated in total : 31
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 31
 - /home/adamf/openssl-1.0.1f/crypto/conf/conf_lib.c violated in total : 7
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 7
 - /home/adamf/openssl-1.0.1f/crypto/sha/sha512t.c violated in total : 7
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 7
 - /home/adamf/openssl-1.0.1f/crypto/ecdsa/ecdsatest.c violated in total : 50
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 50
 - /home/adamf/openssl-1.0.1f/crypto/rsa/rsa_crpt.c violated in total : 13
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 13
 - /home/adamf/openssl-1.0.1f/crypto/asn1asn_new.c violated in total : 42
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 42
 - /home/adamf/openssl-1.0.1f/crypto/pem/pem_all.c violated in total : 18
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 18
 - /home/adamf/openssl-1.0.1f/crypto/pem/pem_lib.c violated in total : 69
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 69
 - /home/adamf/openssl-1.0.1f/crypto/evp/evp_test.c violated in total : 7
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 7
 - /home/adamf/openssl-1.0.1f/crypto/idea/i_skey.c violated in total : 4
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 4
 - /home/adamf/openssl-1.0.1f/crypto/dh/dh_check.c violated in total : 14
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 14
 - /home/adamf/openssl-1.0.1f/crypto/ecdsa/ecs_ossl.c violated in total : 21
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 21
 - /home/adamf/openssl-1.0.1f/crypto/x509v3/pcy_cache.c violated in total : 25
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 25
 - /home/adamf/openssl-1.0.1f/crypto/x509v3/v3_info.c violated in total : 3
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 3
 - /home/adamf/openssl-1.0.1f/crypto/sha/shatest.c violated in total : 3
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 3
 - /home/adamf/openssl-1.0.1f/crypto/pem/pvkfmt.c violated in total : 88
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 88
 - /home/adamf/openssl-1.0.1f/crypto/des/des_opts.c violated in total : 1
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 1
 - /home/adamf/openssl-1.0.1f/crypto/dsa/dsagen.c violated in total : 6
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 6
 - /home/adamf/openssl-1.0.1f/crypto/x509/x509name.c violated in total : 40
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 40
 - /home/adamf/openssl-1.0.1f/crypto/pkcs12/p12_init.c violated in total : 1
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 1
 - /home/adamf/openssl-1.0.1f/crypto/bn/bnspeed.c violated in total : 3
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 3
 - /home/adamf/openssl-1.0.1f/crypto/asn1/asn1_par.c violated in total : 48
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 48
 - /home/adamf/openssl-1.0.1f/crypto/pem/pem_oth.c violated in total : 2
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 2
 - /home/adamf/openssl-1.0.1f/crypto/asn1/x_pkey.c violated in total : 7
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 7
 - /home/adamf/openssl-1.0.1f/crypto/rand/rand_unix.c violated in total : 11
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 11
 - /home/adamf/openssl-1.0.1f/crypto/bio/bf_nbio.c violated in total : 14
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 14
 - /home/adamf/openssl-1.0.1f/crypto/dsa/dsatest.c violated in total : 9
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 9
 - /home/adamf/openssl-1.0.1f/cryptoss_verify_ctx.c violated in total : 14
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 14
 - /home/adamf/openssl-1.0.1f/crypto/evp/evp_pbe.c violated in total : 23
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 23
 - /home/adamf/openssl-1.0.1f/crypto/rsa/rsa_test.c violated in total : 7
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 7
 - /home/adamf/openssl-1.0.1f/crypto/dsa/dsa_ameth.c violated in total : 64
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 64
 - /home/adamf/openssl-1.0.1f/crypto/ec/ec2_smpl.c violated in total : 87
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 87
 - /home/adamf/openssl-1.0.1f/crypto/bio/bss_file.c violated in total : 43
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 43
 - /home/adamf/openssl-1.0.1f/crypto/cmac/cmac.c violated in total : 26
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 26
 - /home/adamf/openssl-1.0.1f/crypto/x509v3/v3_conf.c violated in total : 33
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 33
 - /home/adamf/openssl-1.0.1f/crypto/asn1/a_print.c violated in total : 13
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 13
 - /home/adamf/openssl-1.0.1f/crypto/des/cbc_cksm.c violated in total : 1
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 1
 - /home/adamf/openssl-1.0.1f/crypto/evp/encode.c violated in total : 18
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 18
 - /home/adamf/openssl-1.0.1f/crypto/lhash/lh_test.c violated in total : 1
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 1
 - /home/adamf/openssl-1.0.1f/crypto/asn1/f_string.c violated in total : 20
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 20
 - /home/adamf/openssl-1.0.1f/crypto/asn1_x509a.c violated in total : 8
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 8
 - /home/adamf/openssl-1.0.1f/crypto/x509v3/v3_asid.c violated in total : 41
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 41
 - /home/adamf/openssl-1.0.1f/crypto/mdc2/mdc2test.c violated in total : 3
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 3
 - /home/adamf/openssl-1.0.1f/crypto/bn/bn_exp2.c violated in total : 24
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 24
 - /home/adamf/openssl-1.0.1f/crypto/bio/bss_acpt.c violated in total : 25
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 25
 - /home/adamf/openssl-1.0.1f/crypto/asn1/asn_moid.c violated in total : 4
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 4
 - /home/adamf/openssl-1.0.1f/crypto/evp/p5_crpt.c violated in total : 13
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 13
 - /home/adamf/openssl-1.0.1f/crypto/pqueue/pqueue.c violated in total : 12
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 12
 - /home/adamf/openssl-1.0.1f/crypto/bn/bn_mpi.c violated in total : 7
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 7
 - /home/adamf/openssl-1.0.1f/crypto/pkcs12/p12_decr.c violated in total : 5
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 5
 - /home/adamf/openssl-1.0.1f/crypto/evp/e_rc4_hmac_md5.c violated in total : 9
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 9
 - /home/adamf/openssl-1.0.1f/crypto/des/read2pwd.c violated in total : 2
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 2
 - /home/adamf/openssl-1.0.1f/crypto/cms/cms_env.c violated in total : 42
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 42
 - /home/adamf/openssl-1.0.1f/crypto/bn/expspeed.c violated in total : 31
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 31
 - /home/adamf/openssl-1.0.1f/crypto/asn1/a_strnid.c violated in total : 21
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 21
 - /home/adamf/openssl-1.0.1f/crypto/ec/ecp_oct.c violated in total : 40
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 40
 - /home/adamf/openssl-1.0.1f/crypto/des/destest.c violated in total : 1
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 1
 - /home/adamf/openssl-1.0.1f/crypto/cast/c_skey.c violated in total : 4
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 4
 - /home/adamf/openssl-1.0.1f/cryptoss_rsp_sign.c violated in total : 75
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 75
 - /home/adamf/openssl-1.0.1f/crypto/pkcs7/pk7_asn1.c violated in total : 3
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 3
 - /home/adamf/openssl-1.0.1f/crypto/dh/dh_gen.c violated in total : 15
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 15
 - /home/adamf/openssl-1.0.1f/crypto/ec/ecp_nistputil.c violated in total : 8
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 8
 - /home/adamf/openssl-1.0.1f/crypto/store/str_mem.c violated in total : 8
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 8
 - /home/adamf/openssl-1.0.1f/crypto/engine/eng_openssl.c violated in total : 9
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 9
 - /home/adamf/openssl-1.0.1f/crypto/bn/bn_rand.c violated in total : 13
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 13
 - /home/adamf/openssl-1.0.1f/crypto/ec/ecp_smpl.c violated in total : 212
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 212
 - /home/adamf/openssl-1.0.1f/crypto/dsa/dsa_lib.c violated in total : 29
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 29
 - /home/adamf/openssl-1.0.1f/crypto/cmac/cm_ameth.c violated in total : 1
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 1
 - /home/adamf/openssl-1.0.1f/crypto/x509v3/v3prin.c violated in total : 1
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 1
 - /home/adamf/openssl-1.0.1f/crypto/md4/md4test.c violated in total : 1
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 1
 - /home/adamf/openssl-1.0.1f/crypto/dso/dso_beos.c violated in total : 7
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 7
 - /home/adamf/openssl-1.0.1f/crypto/rand/md_rand.c violated in total : 24
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 24
 - /home/adamf/openssl-1.0.1f/crypto/x509v3/v3_addr.c violated in total : 91
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 91
 - /home/adamf/openssl-1.0.1f/crypto/x509v3/pcy_data.c violated in total : 10
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 10
 - /home/adamf/openssl-1.0.1f/crypto/ui/ui_lib.c violated in total : 35
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 35
 - /home/adamf/openssl-1.0.1f/crypto/asn1/x_name.c violated in total : 33
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 33
 - /home/adamf/openssl-1.0.1f/crypto/ocsp/ocsp_srv.c violated in total : 31
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 31
 - /home/adamf/openssl-1.0.1f/crypto/evp/p_seal.c violated in total : 7
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 7
 - /home/adamf/openssl-1.0.1f/crypto/x509v3/v3_ia5.c violated in total : 2
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 2
 - /home/adamf/openssl-1.0.1f/crypto/des/str2key.c violated in total : 11
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 11
 - /home/adamf/openssl-1.0.1f/crypto/asn1/x_x509a.c violated in total : 18
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 18
 - /home/adamf/openssl-1.0.1f/crypto/des/cfb64ede.c violated in total : 3
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 3
 - /home/adamf/openssl-1.0.1f/crypto/rc5/rc5_ecb.c violated in total : 2
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 2
 - /home/adamf/openssl-1.0.1f/crypto/bn/bn_kron.c violated in total : 10
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 10
 - /home/adamf/openssl-1.0.1f/crypto/cms/cms_ess.c violated in total : 27
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 27
 - /home/adamf/openssl-1.0.1f/crypto/bn/bn_nist.c violated in total : 27
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 27
 - /home/adamf/openssl-1.0.1f/crypto/x509v3/v3_ncons.c violated in total : 47
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 47
 - /home/adamf/openssl-1.0.1f/crypto/cms/cms_asn1.c violated in total : 9
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 9
 - /home/adamf/openssl-1.0.1f/crypto/md4/md4.c violated in total : 1
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 1
 - /home/adamf/openssl-1.0.1f/crypto/bn/asm/x86_64-gcc.c violated in total : 20
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 20
 - /home/adamf/openssl-1.0.1f/crypto/sha/sha512.c violated in total : 9
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 9
 - /home/adamf/openssl-1.0.1f/crypto/asn1/a_bool.c violated in total : 2
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 2
 - /home/adamf/openssl-1.0.1f/crypto/x509/x509_d2.c violated in total : 7
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 7
 - /home/adamf/openssl-1.0.1f/crypto/asn1/x_info.c violated in total : 6
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 6
 - /home/adamf/openssl-1.0.1f/crypto/evp/p_verify.c violated in total : 6
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 6
 - /home/adamf/openssl-1.0.1f/crypto/asn1/a_i2d_fp.c violated in total : 2
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 2
 - /home/adamf/openssl-1.0.1f/crypto/srp/srp_lib.c violated in total : 31
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 31
 - /home/adamf/openssl-1.0.1f/crypto/rc5/rc5_skey.c violated in total : 3
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 3
 - /home/adamf/openssl-1.0.1f/crypto/pkcs7/example.c violated in total : 20
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 20
 - /home/adamf/openssl-1.0.1f/crypto/evp/evp_pkey.c violated in total : 4
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 4
 - /home/adamf/openssl-1.0.1f/crypto/ec/eck_prn.c violated in total : 44
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 44
 - /home/adamf/openssl-1.0.1f/crypto/ocsp/ocsp_vfy.c violated in total : 23
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 23
 - /home/adamf/openssl-1.0.1f/crypto/pkcs12/p12_kiss.c violated in total : 25
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 25
 - /home/adamf/openssl-1.0.1f/crypto/asn1/a_dup.c violated in total : 2
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 2
 - /home/adamf/openssl-1.0.1f/crypto/sha/sha1test.c violated in total : 3
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 3
 - /home/adamf/openssl-1.0.1f/crypto/ripemd/asm/rips.cpp violated in total : 3
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 3
 - /home/adamf/openssl-1.0.1f/crypto/md5/md5.c violated in total : 1
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 1
 - /home/adamf/openssl-1.0.1f/crypto/lhash/lh_stats.c violated in total : 5
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 5
 - /home/adamf/openssl-1.0.1f/crypto/asn1/x_bignum.c violated in total : 10
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 10
 - /home/adamf/openssl-1.0.1f/crypto/cms/cms_smime.c violated in total : 79
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 79
 - /home/adamf/openssl-1.0.1f/crypto/asn1/a_utctm.c violated in total : 23
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 23
 - /home/adamf/openssl-1.0.1f/crypto/bn/bntest.c violated in total : 87
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 87
 - /home/adamf/openssl-1.0.1f/crypto/des/rpw.c violated in total : 1
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 1
 - /home/adamf/openssl-1.0.1f/crypto/ec/ec_check.c violated in total : 7
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 7
 - /home/adamf/openssl-1.0.1f/crypto/engine/eng_list.c violated in total : 5
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 5
 - /home/adamf/openssl-1.0.1f/crypto/rsa/rsa_gen.c violated in total : 35
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 35
 - /home/adamf/openssl-1.0.1f/crypto/des/pcbc_enc.c violated in total : 2
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 2
 - /home/adamf/openssl-1.0.1f/cryptoss_req_utils.c violated in total : 5
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 5
 - /home/adamf/openssl-1.0.1f/crypto/dso/dso_lib.c violated in total : 18
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 18
 - /home/adamf/openssl-1.0.1f/crypto/ecdh/ech_ossl.c violated in total : 6
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 6
 - /home/adamf/openssl-1.0.1f/crypto/bn/bn_mul.c violated in total : 80
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 80
 - /home/adamf/openssl-1.0.1f/crypto/cms/cms_att.c violated in total : 8
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 8
 - /home/adamf/openssl-1.0.1f/crypto/conf/conf_def.c violated in total : 53
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 53
 - /home/adamf/openssl-1.0.1f/crypto/comp/comp_lib.c violated in total : 2
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 2
 - /home/adamf/openssl-1.0.1f/crypto/ec/ectest.c violated in total : 290
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 290
 - /home/adamf/openssl-1.0.1f/crypto/rsa/rsa_x931.c violated in total : 3
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 3
 - /home/adamf/openssl-1.0.1f/crypto/engineb_asnmth.c violated in total : 6
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 6
 - /home/adamf/openssl-1.0.1f/crypto/evp/p5_crpt2.c violated in total : 4
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 4
 - /home/adamf/openssl-1.0.1f/crypto/modes/cfb128.c violated in total : 9
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 9
 - /home/adamf/openssl-1.0.1f/crypto/stack/stack.c violated in total : 29
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 29
 - /home/adamf/openssl-1.0.1f/crypto/ec/ec_ameth.c violated in total : 48
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 48
 - /home/adamf/openssl-1.0.1f/crypto/bn/bn_asm.c violated in total : 21
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 21
 - /home/adamf/openssl-1.0.1f/crypto/des/enc_read.c violated in total : 15
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 15
 - /home/adamf/openssl-1.0.1f/crypto/asn1/f_enum.c violated in total : 18
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 18
 - /home/adamf/openssl-1.0.1f/crypto/asn1/asn1_lib.c violated in total : 35
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 35
 - /home/adamf/openssl-1.0.1f/crypto/ecdh/ecdhtest.c violated in total : 37
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 37
 - /home/adamf/openssl-1.0.1f/cryptohreads/mttest.c violated in total : 50
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 50
 - /home/adamf/openssl-1.0.1f/crypto/engine/eng_cnf.c violated in total : 18
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 18
 - /home/adamf/openssl-1.0.1f/crypto/asn1/a_mbstr.c violated in total : 23
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 23
 - /home/adamf/openssl-1.0.1f/crypto/evp/evp_lib.c violated in total : 10
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 10
 - /home/adamf/openssl-1.0.1f/crypto/x509v3abtest.c violated in total : 3
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 3
 - /home/adamf/openssl-1.0.1f/crypto/evp/bio_b64.c violated in total : 24
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 24
 - /home/adamf/openssl-1.0.1f/crypto/asn1/asn_pack.c violated in total : 9
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 9
 - /home/adamf/openssl-1.0.1f/crypto/asn1_spki.c violated in total : 3
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 3
 - /home/adamf/openssl-1.0.1f/crypto/asn1/evp_asn1.c violated in total : 14
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 14
 - /home/adamf/openssl-1.0.1f/crypto/pkcs12/p12_attr.c violated in total : 15
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 15
 - /home/adamf/openssl-1.0.1f/crypto/conf/conf_mod.c violated in total : 37
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 37
 - /home/adamf/openssl-1.0.1f/cryptoss_rsp_verify.c violated in total : 38
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 38
 - /home/adamf/openssl-1.0.1f/crypto/des/cfb_enc.c violated in total : 5
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 5
 - /home/adamf/openssl-1.0.1f/crypto/dsa/dsa_gen.c violated in total : 51
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 51
 - /home/adamf/openssl-1.0.1f/crypto/bn/bn_mont.c violated in total : 51
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 51
 - /home/adamf/openssl-1.0.1f/crypto/pem/pem_pkey.c violated in total : 16
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 16
 - /home/adamf/openssl-1.0.1f/crypto/pkcs12/p12_add.c violated in total : 4
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 4
 - /home/adamf/openssl-1.0.1f/crypto/bn/bn_sqrt.c violated in total : 47
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 47
 - /home/adamf/openssl-1.0.1f/crypto/bn/bn_print.c violated in total : 29
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 29
 - /home/adamf/openssl-1.0.1f/crypto/asn1/bio_asn1.c violated in total : 31
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 31
 - /home/adamf/openssl-1.0.1f/crypto/x509v3/pcy_lib.c violated in total : 15
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 15
 - /home/adamf/openssl-1.0.1f/crypto/evp/evp_key.c violated in total : 23
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 23
 - /home/adamf/openssl-1.0.1f/crypto/dsa/dsa_asn1.c violated in total : 3
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 3
 - /home/adamf/openssl-1.0.1f/crypto/asn1_bitst.c violated in total : 4
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 4
 - /home/adamf/openssl-1.0.1f/crypto/evp/bio_enc.c violated in total : 22
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 22
 - /home/adamf/openssl-1.0.1f/crypto/ec/ecp_nist.c violated in total : 19
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 19
 - /home/adamf/openssl-1.0.1f/crypto/conf/cnf_save.c violated in total : 1
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 1
 - /home/adamf/openssl-1.0.1f/crypto/engine/eng_dyn.c violated in total : 22
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 22
 - /home/adamf/openssl-1.0.1f/crypto/x509v3/v3_lib.c violated in total : 25
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 25
 - /home/adamf/openssl-1.0.1f/crypto/pkcs12/p12_mutl.c violated in total : 9
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 9
 - /home/adamf/openssl-1.0.1f/crypto/ec/ec_key.c violated in total : 53
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 53
 - /home/adamf/openssl-1.0.1f/crypto/evp/e_aes.c violated in total : 82
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 82
 - /home/adamf/openssl-1.0.1f/crypto/dh/dh_pmeth.c violated in total : 11
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 11
 - /home/adamf/openssl-1.0.1f/crypto/dh/dh_key.c violated in total : 17
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 17
 - /home/adamf/openssl-1.0.1f/crypto/x509/x_all.c violated in total : 3
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 3
 - /home/adamf/openssl-1.0.1f/crypto/asn1/d2i_pu.c violated in total : 3
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 3
 - /home/adamf/openssl-1.0.1f/crypto/bn/bn_blind.c violated in total : 34
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 34
 - /home/adamf/openssl-1.0.1f/crypto/asn1/p5_pbe.c violated in total : 8
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 8
 - /home/adamf/openssl-1.0.1f/crypto/ui/ui_util.c violated in total : 4
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 4
 - /home/adamf/openssl-1.0.1f/crypto/x509/x509cset.c violated in total : 7
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 7
 - /home/adamf/openssl-1.0.1f/crypto/rsa/rsa_saos.c violated in total : 6
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 6
 - /home/adamf/openssl-1.0.1f/crypto/asn1/a_type.c violated in total : 7
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 7
 - /home/adamf/openssl-1.0.1f/crypto/asn1_req.c violated in total : 23
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 23
 - /home/adamf/openssl-1.0.1f/crypto/bf/bftest.c violated in total : 3
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 3
 - /home/adamf/openssl-1.0.1f/crypto/ex_data.c violated in total : 20
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 20
 - /home/adamf/openssl-1.0.1f/crypto/rsa/rsa_eay.c violated in total : 77
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 77
 - /home/adamf/openssl-1.0.1f/crypto/ec/ec_asn1.c violated in total : 60
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 60
 - /home/adamf/openssl-1.0.1f/crypto/evp/e_null.c violated in total : 1
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 1
 - /home/adamf/openssl-1.0.1f/crypto/pkcs7/pk7_lib.c violated in total : 47
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 47
 - /home/adamf/openssl-1.0.1f/crypto/x509/x509_req.c violated in total : 22
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 22
 - /home/adamf/openssl-1.0.1f/crypto/des/set_key.c violated in total : 4
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 4
 - /home/adamf/openssl-1.0.1f/crypto/x509/x509_att.c violated in total : 44
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 44
 - /home/adamf/openssl-1.0.1f/crypto/des/ecb_enc.c violated in total : 2
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 2
 - /home/adamf/openssl-1.0.1f/crypto/engine/eng_table.c violated in total : 19
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 19
 - /home/adamf/openssl-1.0.1f/crypto/rsa/rsa_depr.c violated in total : 5
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 5
 - /home/adamf/openssl-1.0.1f/crypto/x509v3/v3_genn.c violated in total : 8
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 8
 - /home/adamf/openssl-1.0.1f/crypto/evp/pmeth_lib.c violated in total : 27
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 27
 - /home/adamf/openssl-1.0.1f/crypto/des/cbc3_enc.c violated in total : 4
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 4
 - /home/adamf/openssl-1.0.1f/crypto/rsa/rsa_pss.c violated in total : 22
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 22
 - /home/adamf/openssl-1.0.1f/crypto/rc4/rc4.c violated in total : 6
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 6
 - /home/adamf/openssl-1.0.1f/crypto/bf/bf_ecb.c violated in total : 2
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 2
 - /home/adamf/openssl-1.0.1f/crypto/asn1/a_bytes.c violated in total : 29
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 29
 - /home/adamf/openssl-1.0.1f/crypto/armcap.c violated in total : 3
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 3
 - /home/adamf/openssl-1.0.1f/crypto/evp/p_lib.c violated in total : 31
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 31
 - /home/adamf/openssl-1.0.1f/crypto/pkcs7/pk7_smime.c violated in total : 35
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 35
 - /home/adamf/openssl-1.0.1f/crypto/evp/evp_enc.c violated in total : 47
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 47
 - /home/adamf/openssl-1.0.1f/crypto/cms/cms_dd.c violated in total : 8
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 8
 - /home/adamf/openssl-1.0.1f/crypto/pkcs12/p12_npas.c violated in total : 16
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 16
 - /home/adamf/openssl-1.0.1f/crypto/asn1/x_req.c violated in total : 1
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 1
 - /home/adamf/openssl-1.0.1f/crypto/x509v3/v3_skey.c violated in total : 5
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 5
 - /home/adamf/openssl-1.0.1f/crypto/engineb_dh.c violated in total : 2
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 2
 - /home/adamf/openssl-1.0.1f/crypto/ocsp/ocsp_prn.c violated in total : 33
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 33
 - /home/adamf/openssl-1.0.1f/crypto/md5/md5test.c violated in total : 2
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 2
 - /home/adamf/openssl-1.0.1f/crypto/mem_clr.c violated in total : 1
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 1
 - /home/adamf/openssl-1.0.1f/crypto/aes/aes_ecb.c violated in total : 2
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 2
 - /home/adamf/openssl-1.0.1f/crypto/bio/b_sock.c violated in total : 22
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 22
 - /home/adamf/openssl-1.0.1f/crypto/engine/eng_cryptodev.c violated in total : 67
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 67
 - /home/adamf/openssl-1.0.1f/crypto/x509/x509_r2x.c violated in total : 7
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 7
 - /home/adamf/openssl-1.0.1f/crypto/ppccap.c violated in total : 4
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 4
 - /home/adamf/openssl-1.0.1f/crypto/x509/x509_obj.c violated in total : 16
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 16
 - /home/adamf/openssl-1.0.1f/crypto/evp/e_des3.c violated in total : 9
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 9
 - /home/adamf/openssl-1.0.1f/cryptoss_rsp_print.c violated in total : 24
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 24
 - /home/adamf/openssl-1.0.1f/crypto/x509v3/pcy_node.c violated in total : 13
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 13
 - /home/adamf/openssl-1.0.1f/crypto/aes/aes_cbc.c violated in total : 2
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 2
 - /home/adamf/openssl-1.0.1f/crypto/cast/c_ecb.c violated in total : 2
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 2
 - /home/adamf/openssl-1.0.1f/crypto/x509v3/v3_cpols.c violated in total : 26
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 26
 - /home/adamf/openssl-1.0.1f/crypto/evp/p_sign.c violated in total : 7
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 7
 - /home/adamf/openssl-1.0.1f/crypto/aes/aes_x86core.c violated in total : 6
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 6
 - /home/adamf/openssl-1.0.1f/crypto/pkcs7/pk7_mime.c violated in total : 2
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 2
 - /home/adamf/openssl-1.0.1f/crypto/seed/seed_ecb.c violated in total : 2
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 2
 - /home/adamf/openssl-1.0.1f/crypto/x509/x509_vfy.c violated in total : 204
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 204
 - /home/adamf/openssl-1.0.1f/crypto/rsa/rsa_sign.c violated in total : 12
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 12
 - /home/adamf/openssl-1.0.1f/crypto/bio/bss_null.c violated in total : 2
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 2
 - /home/adamf/openssl-1.0.1f/crypto/bio/bss_dgram.c violated in total : 74
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 74
 - /home/adamf/openssl-1.0.1f/crypto/modes/ctr128.c violated in total : 8
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 8
 - /home/adamf/openssl-1.0.1f/crypto/cast/casttest.c violated in total : 2
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 2
 - /home/adamf/openssl-1.0.1f/crypto/x509v3/v3_pci.c violated in total : 6
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 6
 - /home/adamf/openssl-1.0.1f/crypto/engineb_pkmeth.c violated in total : 2
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 2
 - /home/adamf/openssl-1.0.1f/crypto/bn/divtest.c violated in total : 4
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 4
 - /home/adamf/openssl-1.0.1f/crypto/x509v3/v3_utl.c violated in total : 96
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 96
 - /home/adamf/openssl-1.0.1f/crypto/des/ecb3_enc.c violated in total : 2
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 2
 - /home/adamf/openssl-1.0.1f/crypto/evp/bio_md.c violated in total : 18
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 18
 - /home/adamf/openssl-1.0.1f/crypto/rand/rand_os2.c violated in total : 2
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 2
 - /home/adamf/openssl-1.0.1f/crypto/asn1/a_strex.c violated in total : 62
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 62
 - /home/adamf/openssl-1.0.1f/crypto/hmac/hm_ameth.c violated in total : 4
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 4
 - /home/adamf/openssl-1.0.1f/crypto/sparcv9cap.c violated in total : 4
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 4
 - /home/adamf/openssl-1.0.1f/crypto/rsa/rsa_pmeth.c violated in total : 71
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 71
 - /home/adamf/openssl-1.0.1f/crypto/dh/dh_lib.c violated in total : 18
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 18
 - /home/adamf/openssl-1.0.1f/crypto/asn1/bio_ndef.c violated in total : 12
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 12
 - /home/adamf/openssl-1.0.1f/crypto/engineb_cipher.c violated in total : 2
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 2
 - /home/adamf/openssl-1.0.1f/crypto/asn1/a_utf8.c violated in total : 25
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 25
 - /home/adamf/openssl-1.0.1f/crypto/rand/randtest.c violated in total : 7
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 7
 - /home/adamf/openssl-1.0.1f/crypto/dsa/dsa_sign.c violated in total : 3
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 3
 - /home/adamf/openssl-1.0.1f/crypto/rc2/rc2_skey.c violated in total : 3
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 3
 - /home/adamf/openssl-1.0.1f/crypto/engineb_digest.c violated in total : 2
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 2
 - /home/adamf/openssl-1.0.1f/crypto/bn/bn_gf2m.c violated in total : 92
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 92
 - /home/adamf/openssl-1.0.1f/crypto/x509v3/v3conf.c violated in total : 3
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 3
 - /home/adamf/openssl-1.0.1f/crypto/bn/bn_shift.c violated in total : 10
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 10
 - /home/adamf/openssl-1.0.1f/crypto/objects/obj_xref.c violated in total : 13
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 13
 - /home/adamf/openssl-1.0.1f/crypto/cms/cms_pwri.c violated in total : 21
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 21
 - /home/adamf/openssl-1.0.1f/crypto/store/str_lib.c violated in total : 74
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 74
 - /home/adamf/openssl-1.0.1f/crypto/asn1asn_fre.c violated in total : 20
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 20
 - /home/adamf/openssl-1.0.1f/crypto/bn/bn_prime.c violated in total : 65
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 65
 - /home/adamf/openssl-1.0.1f/crypto/x509/x509type.c violated in total : 6
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 6
 - /home/adamf/openssl-1.0.1f/crypto/pkcs7/pk7_attr.c violated in total : 4
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 4
 - /home/adamf/openssl-1.0.1f/crypto/asn1/ameth_lib.c violated in total : 26
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 26
 - /home/adamf/openssl-1.0.1f/crypto/asn1/a_enum.c violated in total : 15
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 15
 - /home/adamf/openssl-1.0.1f/crypto/rsa/rsa_chk.c violated in total : 8
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 8
 - /home/adamf/openssl-1.0.1f/crypto/sha/sha.c violated in total : 1
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 1
 - /home/adamf/openssl-1.0.1f/crypto/bio/bf_null.c violated in total : 9
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 9
 - /home/adamf/openssl-1.0.1f/crypto/ec/ec_pmeth.c violated in total : 17
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 17
 - /home/adamf/openssl-1.0.1f/crypto/bio/bss_log.c violated in total : 5
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 5
 - /home/adamf/openssl-1.0.1f/crypto/engineb_ecdh.c violated in total : 2
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 2
 - /home/adamf/openssl-1.0.1f/crypto/ec/ecp_nistp521.c violated in total : 45
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 45
 - /home/adamf/openssl-1.0.1f/crypto/ui/ui_openssl.c violated in total : 33
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 33
 - /home/adamf/openssl-1.0.1f/crypto/bn/bn_gcd.c violated in total : 65
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 65
 - /home/adamf/openssl-1.0.1f/crypto/x509v3/v3_pku.c violated in total : 1
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 1
 - /home/adamf/openssl-1.0.1f/crypto/x509v3/v3_extku.c violated in total : 2
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 2
 - /home/adamf/openssl-1.0.1f/crypto/o_time.c violated in total : 3
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 3
 - /home/adamf/openssl-1.0.1f/crypto/mem_dbg.c violated in total : 19
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 19
 - /home/adamf/openssl-1.0.1f/crypto/evp/p_open.c violated in total : 5
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 5
 - /home/adamf/openssl-1.0.1f/crypto/ocsp/ocsp_cl.c violated in total : 30
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 30
 - /home/adamf/openssl-1.0.1f/crypto/dsa/dsa_ossl.c violated in total : 38
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 38
 - /home/adamf/openssl-1.0.1f/crypto/rand/rand_lib.c violated in total : 10
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 10
 - /home/adamf/openssl-1.0.1f/crypto/ripemd/rmdtest.c violated in total : 1
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 1
 - /home/adamf/openssl-1.0.1f/crypto/store/str_meth.c violated in total : 1
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 1
 - /home/adamf/openssl-1.0.1f/crypto/modes/ofb128.c violated in total : 2
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 2
 - /home/adamf/openssl-1.0.1f/crypto/asn1/a_time.c violated in total : 14
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 14
 - /home/adamf/openssl-1.0.1f/crypto/x509/x509rset.c violated in total : 3
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 3
 - /home/adamf/openssl-1.0.1f/crypto/pkcs12/p12_p8e.c violated in total : 2
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 2
 - /home/adamf/openssl-1.0.1f/crypto/pem/pem_pk8.c violated in total : 13
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 13
 - /home/adamf/openssl-1.0.1f/crypto/x509v3/v3_bitst.c violated in total : 1
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 1
 - /home/adamf/openssl-1.0.1f/crypto/camellia/cmll_misc.c violated in total : 2
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 2
 - /home/adamf/openssl-1.0.1f/crypto/engineb_store.c violated in total : 1
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 1
 - /home/adamf/openssl-1.0.1f/crypto/des/rand_key.c violated in total : 1
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 1
 - /home/adamf/openssl-1.0.1f/crypto/ec/ec_print.c violated in total : 9
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 9
 - /home/adamf/openssl-1.0.1f/crypto/asn1/a_digest.c violated in total : 3
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 3
 - /home/adamf/openssl-1.0.1f/crypto/pkcs7/bio_ber.c violated in total : 23
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 23
 - /home/adamf/openssl-1.0.1f/crypto/pem/pem_sign.c violated in total : 2
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 2
 - /home/adamf/openssl-1.0.1f/crypto/modes/cts128.c violated in total : 32
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 32
 - /home/adamf/openssl-1.0.1f/crypto/rand/randfile.c violated in total : 20
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 20
 - /home/adamf/openssl-1.0.1f/crypto/asn1/a_int.c violated in total : 35
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 35
 - /home/adamf/openssl-1.0.1f/cryptoss_conf.c violated in total : 35
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 35
 - /home/adamf/openssl-1.0.1f/crypto/dh/dh_ameth.c violated in total : 42
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 42
 - /home/adamf/openssl-1.0.1f/crypto/ec/ecp_mont.c violated in total : 11
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 11
 - /home/adamf/openssl-1.0.1f/crypto/rsa/rsa_prn.c violated in total : 1
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 1
 - /home/adamf/openssl-1.0.1f/crypto/srp/srp_vfy.c violated in total : 47
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 47
 - /home/adamf/openssl-1.0.1f/crypto/pkcs12/p12_utl.c violated in total : 10
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 10
 - /home/adamf/openssl-1.0.1f/crypto/asn1/a_verify.c violated in total : 1
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 1
 - /home/adamf/openssl-1.0.1f/crypto/rsa/rsa_ssl.c violated in total : 5
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 5
 - /home/adamf/openssl-1.0.1f/crypto/dsa/dsa_depr.c violated in total : 2
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 2
 - /home/adamf/openssl-1.0.1f/crypto/camellia/cmll_ecb.c violated in total : 2
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 2
 - /home/adamf/openssl-1.0.1f/crypto/bio/b_dump.c violated in total : 4
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 4
 - /home/adamf/openssl-1.0.1f/crypto/rc2/rc2_cbc.c violated in total : 2
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 2
 - /home/adamf/openssl-1.0.1f/crypto/des/rpc_enc.c violated in total : 1
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 1
 - /home/adamf/openssl-1.0.1f/crypto/cms/cms_sd.c violated in total : 95
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 95
 - /home/adamf/openssl-1.0.1f/crypto/idea/ideatest.c violated in total : 4
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 4
 - /home/adamf/openssl-1.0.1f/crypto/asn1/x_pubkey.c violated in total : 24
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 24
 - /home/adamf/openssl-1.0.1f/crypto/x509/by_file.c violated in total : 15
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 15
 - /home/adamf/openssl-1.0.1f/cryptoss_rsp_utils.c violated in total : 12
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 12
 - /home/adamf/openssl-1.0.1f/crypto/rc4/rc4_skey.c violated in total : 4
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 4
 - /home/adamf/openssl-1.0.1f/crypto/bio/bss_bio.c violated in total : 53
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 53
 - /home/adamf/openssl-1.0.1f/crypto/bn/bn_x931p.c violated in total : 33
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 33
 - /home/adamf/openssl-1.0.1f/crypto/cms/cms_enc.c violated in total : 9
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 9
 - /home/adamf/openssl-1.0.1f/crypto/bn/bn_lib.c violated in total : 63
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 63
 - /home/adamf/openssl-1.0.1f/crypto/asn1asn_utl.c violated in total : 19
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 19
 - /home/adamf/openssl-1.0.1f/crypto/sha/sha1.c violated in total : 1
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 1
 - /home/adamf/openssl-1.0.1f/crypto/asn1/asn1_gen.c violated in total : 50
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 50
 - /home/adamf/openssl-1.0.1f/crypto/ripemd/rmd160.c violated in total : 1
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 1
 - /home/adamf/openssl-1.0.1f/crypto/x509v3/v3_akey.c violated in total : 6
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 6
 - /home/adamf/openssl-1.0.1f/crypto/rand/rand_win.c violated in total : 19
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 19
 - /home/adamf/openssl-1.0.1f/crypto/dso/dso_win32.c violated in total : 18
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 18
 - /home/adamf/openssl-1.0.1f/crypto/evp/e_xcbc_d.c violated in total : 1
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 1
 - /home/adamf/openssl-1.0.1f/crypto/cryptlib.c violated in total : 43
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 43
 - /home/adamf/openssl-1.0.1f/crypto/rc4/rc4test.c violated in total : 3
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 3
 - /home/adamf/openssl-1.0.1f/crypto/x509v3/v3_ocsp.c violated in total : 26
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 26
 - /home/adamf/openssl-1.0.1f/crypto/dsa/dsa_pmeth.c violated in total : 16
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 16
 - /home/adamf/openssl-1.0.1f/crypto/dso/dso_dl.c violated in total : 9
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 9
 - /home/adamf/openssl-1.0.1f/crypto/cmac/cm_pmeth.c violated in total : 12
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 12
 - /home/adamf/openssl-1.0.1f/crypto/comp/c_zlib.c violated in total : 31
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 31
 - /home/adamf/openssl-1.0.1f/crypto/rc2/rc2test.c violated in total : 4
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 4
 - /home/adamf/openssl-1.0.1f/crypto/LPdir_win.c violated in total : 4
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 4
 - /home/adamf/openssl-1.0.1f/crypto/bn/bn_word.c violated in total : 14
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 14
 - /home/adamf/openssl-1.0.1f/crypto/objects/o_names.c violated in total : 18
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 18
 - /home/adamf/openssl-1.0.1f/crypto/ecdsa/ecs_sign.c violated in total : 2
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 2
 - /home/adamf/openssl-1.0.1f/crypto/bio/bio_cb.c violated in total : 7
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 7
 - /home/adamf/openssl-1.0.1f/crypto/x509/x509_trs.c violated in total : 19
 * RULE_4_5_B_use_braces_even_for_one_if_statement : 19


						
			
		

6 Comments

Matt ZimmermanFebruary 23rd, 2014 at 11:46

I would say that the bug was caused by an unguarded goto statement, rather than missing braces on the if statement. Bracing the if statement may have made the bug easier to see visually, but without knowing where it came from we’re guessing about how it could have been prevented.

Maybe it was a bad merge that didn’t get reviewed, or the author’s cat stepped on the ‘p’ key while “goto fail;” was in the paste buffer. There’s even some chance that it was intentional.

Matt ZimmermanFebruary 23rd, 2014 at 11:54

For what it’s worth, I did a test build of the openssl package from Ubuntu 13.10 with -Werror=unreachable-code and it built cleanly. So there don’t seem to be any bugs which cause code to be entirely unreachable. Of course there are similar mistakes which wouldn’t result in unreachable code, such as:

if (thing_failed)
success = 0;
thing = NULL;
if (other_thing)

fdfgsgFebruary 23rd, 2014 at 12:07

The real fix is using -Wunused-code by default, which clang actually supports but wasn’t turned on. Parentheses don’t help and the way it was, it was clearly visible that this was a failure. Don’t blame it on the wrong thing (and please, for god’s sake, don’t blame goto either. It isn’t goto’s fault and by blaming this really serious bug on syntax you’re downplaying the issue.)

Matt ZimmermanFebruary 23rd, 2014 at 12:26

Ignore me. -Wunreachable-code is a noop in current versions of gcc. :-(

See http://comments.gmane.org/gmane.comp.gcc.help/37668

Matt ZimmermanFebruary 23rd, 2014 at 12:27

@fdfgsg – neither Adam nor I blamed goto. I just stated that the nature of the bug was a goto which (inadvertently) wasn’t guarded by a conditional.

Gordon MorehouseFebruary 24th, 2014 at 21:49

Good syntax = good layout = situational awareness, the thing that prevents more plane crashes from happening (and usually is a cause of them when it’s lacking).

Leave a comment

Your comment