CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2024/07/13 09:08:58
Modified files:
lib/libcrypto/ct: ct_x509v3.c
lib/libcrypto/x509: x509_addr.c x509_akey.c x509_alt.c
x509_asid.c x509_bcons.c x509_bitst.c
x509_cpols.c x509_crld.c x509_extku.c
x509_ia5.c x509_info.c x509_int.c x509_lib.c
x509_local.h x509_ncons.c x509_ocsp.c
x509_pcons.c x509_pku.c x509_pmaps.c
x509_skey.c
Log message:
Unify X.509v3 extension methods
Use C99 initializers for all structs (some were forgotten).
Make all the structs static, call them x509v3_ext_* matching NID_*.
Add accessors called x509v3_ext_method_* and use these to implement
X509V3_EXT_get_nid().
This adds consistency and avoids a few contortions like grouping
a few extensions in arrays to save a couple externs.
ok beck jsing