openssl/apps/lib
David Benjamin cdf63a3736 Add X509 version constants.
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)
2021-04-28 11:40:06 +02:00
..
app_params.c Update copyright year 2020-10-15 14:10:06 +01:00
app_provider.c PKCS12 etc.: Add hints on using -legacy and -provider-path options 2021-04-19 16:23:46 +02:00
app_rand.c APPS: make apps strict on app_RAND_load() and app_RAND_write() failure 2021-04-14 16:48:27 +02:00
app_x509.c Update copyright year 2021-04-22 14:38:44 +01:00
apps_ui.c APPS: Make it possible for apps to set the base (fallback) UI_METHOD 2020-11-26 17:04:21 +01:00
apps.c Add X509 version constants. 2021-04-28 11:40:06 +02:00
build.info Avoid more MSVC-specific C runtime library functions 2021-04-19 11:05:54 +02:00
columns.c Move libapps.a source to apps/lib 2019-09-04 17:26:07 +02:00
engine_loader.c APPS: Add OSSL_STORE loader for engine keys 2020-12-02 20:19:31 +01:00
engine.c Skip unavailable digests and ciphers in -*-commands 2020-12-15 04:39:58 +01:00
fmt.c Update copyright year 2020-05-15 14:09:49 +01:00
http_server.c Fix no-posix-io 2020-11-26 16:09:12 +00:00
names.c Fix stacks of OPENSSL_STRING, OPENSSL_CSTRING and OPENSSL_BLOCK 2020-09-13 11:10:39 +01:00
opt.c Prefer fetch over legacy get_digestby/get_cipherby 2021-04-28 09:38:31 +02:00
s_cb.c apps: fix coverity 1455340: unchecked return value 2021-03-26 08:46:02 +10:00
s_socket.c APPS: Guard use of IPv6 functions and constants with a check of AF_INET6 2020-11-25 06:09:23 +01:00
tlssrp_depr.c Deprecate the libssl level SRP APIs 2021-02-12 08:47:32 +00:00
vms_decc_argv.c Move libapps.a source to apps/lib 2019-09-04 17:26:07 +02:00
vms_term_sock.c Move libapps.a source to apps/lib 2019-09-04 17:26:07 +02:00
win32_init.c Update copyright year 2020-06-25 14:13:12 +01:00