CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]    2014/04/27 14:26:49

Modified files:
        lib/libssl/src/crypto/asn1: bio_asn1.c x_crl.c 
        lib/libssl/src/crypto/bio: bf_buff.c bf_lbuf.c bf_nbio.c 
                                   bf_null.c bss_acpt.c bss_bio.c 
                                   bss_conn.c bss_dgram.c bss_fd.c 
                                   bss_file.c bss_log.c bss_mem.c 
                                   bss_null.c bss_sock.c 
        lib/libssl/src/crypto/cmac: cm_ameth.c cm_pmeth.c 
        lib/libssl/src/crypto/comp: c_rle.c c_zlib.c 
        lib/libssl/src/crypto/conf: conf_def.c 
        lib/libssl/src/crypto/dh: dh_ameth.c dh_key.c dh_pmeth.c 
        lib/libssl/src/crypto/dsa: dsa_ameth.c dsa_ossl.c dsa_pmeth.c 
        lib/libssl/src/crypto/dso: dso_dlfcn.c dso_null.c 
        lib/libssl/src/crypto/ec: ec2_smpl.c ec_ameth.c ec_pmeth.c 
                                  ecp_mont.c ecp_nist.c ecp_nistp224.c 
                                  ecp_nistp256.c ecp_nistp521.c 
                                  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 eng_rdrand.c 
                                      eng_rsax.c hw_cryptodev.c 
        lib/libssl/src/crypto/evp: bio_b64.c bio_enc.c bio_md.c bio_ok.c 
        lib/libssl/src/crypto/hmac: hm_ameth.c hm_pmeth.c 
        lib/libssl/src/crypto/pkcs7: bio_ber.c 
        lib/libssl/src/crypto/rsa: rsa_ameth.c rsa_eay.c rsa_null.c 
                                   rsa_pmeth.c 
        lib/libssl/src/crypto/store: str_mem.c 
        lib/libssl/src/crypto/ui: ui_openssl.c 

Log message:
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@

Reply via email to