mirror of
https://github.com/openssl/openssl.git
synced 2024-11-27 05:21:51 +08:00
cdf63a3736
The X509 version APIs return the numerical values of the version numbers, which are one off from the names. This is a bit confusing. Where they don't get it wrong (accidentally making an "X509v4" certificate), callers tend to try commenting every call site to explain the mismatch, including in OpenSSL itself. Define constants for these values, so code can be self-documenting and callers are nudged towards the right values. Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/14549) |
||
---|---|---|
.. | ||
app_params.c | ||
app_provider.c | ||
app_rand.c | ||
app_x509.c | ||
apps_ui.c | ||
apps.c | ||
build.info | ||
columns.c | ||
engine_loader.c | ||
engine.c | ||
fmt.c | ||
http_server.c | ||
names.c | ||
opt.c | ||
s_cb.c | ||
s_socket.c | ||
tlssrp_depr.c | ||
vms_decc_argv.c | ||
vms_term_sock.c | ||
win32_init.c |