Use C99 initializers for the various FOO_METHOD structs. More readable, and
authormiod <miod@openbsd.org>
Sun, 27 Apr 2014 20:26:46 +0000 (20:26 +0000)
committermiod <miod@openbsd.org>
Sun, 27 Apr 2014 20:26:46 +0000 (20:26 +0000)
commite402ce74af92e11cf51406acbd53f28852df7c32
tree060921ecfca28854f412a301d88d7bf299dd30ec
parent1d6b7a0f39dd8367fe794ac653768f8322f2df75
Use C99 initializers for the various FOO_METHOD structs. More readable, and
avoid unreadable/unmaintainable constructs like that:

const EVP_PKEY_ASN1_METHOD cmac_asn1_meth =
        {
        EVP_PKEY_CMAC,
        EVP_PKEY_CMAC,
        0,

        "CMAC",
        "OpenSSL CMAC method",

        0,0,0,0,

        0,0,0,

        cmac_size,
        0,
        0,0,0,0,0,0,0,

        cmac_key_free,
        0,
        0,0
        };

ok matthew@ deraadt@
114 files changed:
lib/libcrypto/asn1/bio_asn1.c
lib/libcrypto/asn1/x_crl.c
lib/libcrypto/bio/bf_buff.c
lib/libcrypto/bio/bf_lbuf.c
lib/libcrypto/bio/bf_nbio.c
lib/libcrypto/bio/bf_null.c
lib/libcrypto/bio/bss_acpt.c
lib/libcrypto/bio/bss_bio.c
lib/libcrypto/bio/bss_conn.c
lib/libcrypto/bio/bss_dgram.c
lib/libcrypto/bio/bss_fd.c
lib/libcrypto/bio/bss_file.c
lib/libcrypto/bio/bss_log.c
lib/libcrypto/bio/bss_mem.c
lib/libcrypto/bio/bss_null.c
lib/libcrypto/bio/bss_sock.c
lib/libcrypto/cmac/cm_ameth.c
lib/libcrypto/cmac/cm_pmeth.c
lib/libcrypto/comp/c_rle.c
lib/libcrypto/comp/c_zlib.c
lib/libcrypto/conf/conf_def.c
lib/libcrypto/dh/dh_ameth.c
lib/libcrypto/dh/dh_key.c
lib/libcrypto/dh/dh_pmeth.c
lib/libcrypto/dsa/dsa_ameth.c
lib/libcrypto/dsa/dsa_ossl.c
lib/libcrypto/dsa/dsa_pmeth.c
lib/libcrypto/dso/dso_dlfcn.c
lib/libcrypto/dso/dso_null.c
lib/libcrypto/ec/ec2_smpl.c
lib/libcrypto/ec/ec_ameth.c
lib/libcrypto/ec/ec_pmeth.c
lib/libcrypto/ec/ecp_mont.c
lib/libcrypto/ec/ecp_nist.c
lib/libcrypto/ec/ecp_nistp224.c
lib/libcrypto/ec/ecp_nistp256.c
lib/libcrypto/ec/ecp_nistp521.c
lib/libcrypto/ec/ecp_smpl.c
lib/libcrypto/ecdh/ech_ossl.c
lib/libcrypto/ecdsa/ecs_ossl.c
lib/libcrypto/engine/eng_padlock.c
lib/libcrypto/engine/eng_rdrand.c
lib/libcrypto/engine/eng_rsax.c
lib/libcrypto/engine/hw_cryptodev.c
lib/libcrypto/evp/bio_b64.c
lib/libcrypto/evp/bio_enc.c
lib/libcrypto/evp/bio_md.c
lib/libcrypto/evp/bio_ok.c
lib/libcrypto/hmac/hm_ameth.c
lib/libcrypto/hmac/hm_pmeth.c
lib/libcrypto/pkcs7/bio_ber.c
lib/libcrypto/rsa/rsa_ameth.c
lib/libcrypto/rsa/rsa_eay.c
lib/libcrypto/rsa/rsa_null.c
lib/libcrypto/rsa/rsa_pmeth.c
lib/libcrypto/store/str_mem.c
lib/libcrypto/ui/ui_openssl.c
lib/libssl/src/crypto/asn1/bio_asn1.c
lib/libssl/src/crypto/asn1/x_crl.c
lib/libssl/src/crypto/bio/bf_buff.c
lib/libssl/src/crypto/bio/bf_lbuf.c
lib/libssl/src/crypto/bio/bf_nbio.c
lib/libssl/src/crypto/bio/bf_null.c
lib/libssl/src/crypto/bio/bss_acpt.c
lib/libssl/src/crypto/bio/bss_bio.c
lib/libssl/src/crypto/bio/bss_conn.c
lib/libssl/src/crypto/bio/bss_dgram.c
lib/libssl/src/crypto/bio/bss_fd.c
lib/libssl/src/crypto/bio/bss_file.c
lib/libssl/src/crypto/bio/bss_log.c
lib/libssl/src/crypto/bio/bss_mem.c
lib/libssl/src/crypto/bio/bss_null.c
lib/libssl/src/crypto/bio/bss_sock.c
lib/libssl/src/crypto/cmac/cm_ameth.c
lib/libssl/src/crypto/cmac/cm_pmeth.c
lib/libssl/src/crypto/comp/c_rle.c
lib/libssl/src/crypto/comp/c_zlib.c
lib/libssl/src/crypto/conf/conf_def.c
lib/libssl/src/crypto/dh/dh_ameth.c
lib/libssl/src/crypto/dh/dh_key.c
lib/libssl/src/crypto/dh/dh_pmeth.c
lib/libssl/src/crypto/dsa/dsa_ameth.c
lib/libssl/src/crypto/dsa/dsa_ossl.c
lib/libssl/src/crypto/dsa/dsa_pmeth.c
lib/libssl/src/crypto/dso/dso_dlfcn.c
lib/libssl/src/crypto/dso/dso_null.c
lib/libssl/src/crypto/ec/ec2_smpl.c
lib/libssl/src/crypto/ec/ec_ameth.c
lib/libssl/src/crypto/ec/ec_pmeth.c
lib/libssl/src/crypto/ec/ecp_mont.c
lib/libssl/src/crypto/ec/ecp_nist.c
lib/libssl/src/crypto/ec/ecp_nistp224.c
lib/libssl/src/crypto/ec/ecp_nistp256.c
lib/libssl/src/crypto/ec/ecp_nistp521.c
lib/libssl/src/crypto/ec/ecp_smpl.c
lib/libssl/src/crypto/ecdh/ech_ossl.c
lib/libssl/src/crypto/ecdsa/ecs_ossl.c
lib/libssl/src/crypto/engine/eng_padlock.c
lib/libssl/src/crypto/engine/eng_rdrand.c
lib/libssl/src/crypto/engine/eng_rsax.c
lib/libssl/src/crypto/engine/hw_cryptodev.c
lib/libssl/src/crypto/evp/bio_b64.c
lib/libssl/src/crypto/evp/bio_enc.c
lib/libssl/src/crypto/evp/bio_md.c
lib/libssl/src/crypto/evp/bio_ok.c
lib/libssl/src/crypto/hmac/hm_ameth.c
lib/libssl/src/crypto/hmac/hm_pmeth.c
lib/libssl/src/crypto/pkcs7/bio_ber.c
lib/libssl/src/crypto/rsa/rsa_ameth.c
lib/libssl/src/crypto/rsa/rsa_eay.c
lib/libssl/src/crypto/rsa/rsa_null.c
lib/libssl/src/crypto/rsa/rsa_pmeth.c
lib/libssl/src/crypto/store/str_mem.c
lib/libssl/src/crypto/ui/ui_openssl.c