diff options
author | 2014-04-27 20:26:46 +0000 | |
---|---|---|
committer | 2014-04-27 20:26:46 +0000 | |
commit | e402ce74af92e11cf51406acbd53f28852df7c32 (patch) | |
tree | 060921ecfca28854f412a301d88d7bf299dd30ec /usr.bin/mandoc/mandocdb.c | |
parent | static const char * = "" -> static const char[] = "", to produce shorter code. (diff) | |
download | wireguard-openbsd-e402ce74af92e11cf51406acbd53f28852df7c32.tar.xz wireguard-openbsd-e402ce74af92e11cf51406acbd53f28852df7c32.zip |
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@
Diffstat (limited to 'usr.bin/mandoc/mandocdb.c')
0 files changed, 0 insertions, 0 deletions