diff options
| author | tb <> | 2026-04-06 08:24:57 +0000 |
|---|---|---|
| committer | tb <> | 2026-04-06 08:24:57 +0000 |
| commit | 3e568752a6bd0d3e75c6c74854bf08bff53c1b64 (patch) | |
| tree | bbe433bc7ebb8db54420edca1adfa19ac992464d /src/lib/libcrypto | |
| parent | cbb1e8b1b47d23d60d1672f412e831bd3bca7ce4 (diff) | |
| download | openbsd-3e568752a6bd0d3e75c6c74854bf08bff53c1b64.tar.gz openbsd-3e568752a6bd0d3e75c6c74854bf08bff53c1b64.tar.bz2 openbsd-3e568752a6bd0d3e75c6c74854bf08bff53c1b64.zip | |
x509v3.h: remove pointless #ifdef HEADER_CONF_H
x509v3.h has included conf.h since June 20, 1999, OpenSSL commit ba404b5e,
so HEADER_CONF_H has been defined since then. Also since then, CONF_VALUE
(only available via conf.h) has been used outside of HEADER_CONF_H, making
that #ifdef doubly pointless.
ok bcook jsing kenjiro
Diffstat (limited to 'src/lib/libcrypto')
| -rw-r--r-- | src/lib/libcrypto/x509/x509v3.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/libcrypto/x509/x509v3.h b/src/lib/libcrypto/x509/x509v3.h index fa31279280..61744c3aa0 100644 --- a/src/lib/libcrypto/x509/x509v3.h +++ b/src/lib/libcrypto/x509/x509v3.h | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: x509v3.h,v 1.40 2024/12/23 09:57:23 tb Exp $ */ | 1 | /* $OpenBSD: x509v3.h,v 1.41 2026/04/06 08:24:57 tb Exp $ */ |
| 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
| 3 | * project 1999. | 3 | * project 1999. |
| 4 | */ | 4 | */ |
| @@ -595,7 +595,6 @@ GENERAL_NAME *a2i_GENERAL_NAME(GENERAL_NAME *out, | |||
| 595 | const X509V3_EXT_METHOD *method, X509V3_CTX *ctx, | 595 | const X509V3_EXT_METHOD *method, X509V3_CTX *ctx, |
| 596 | int gen_type, const char *value, int is_nc); | 596 | int gen_type, const char *value, int is_nc); |
| 597 | 597 | ||
| 598 | #ifdef HEADER_CONF_H | ||
| 599 | GENERAL_NAME *v2i_GENERAL_NAME(const X509V3_EXT_METHOD *method, X509V3_CTX *ctx, | 598 | GENERAL_NAME *v2i_GENERAL_NAME(const X509V3_EXT_METHOD *method, X509V3_CTX *ctx, |
| 600 | CONF_VALUE *cnf); | 599 | CONF_VALUE *cnf); |
| 601 | GENERAL_NAME *v2i_GENERAL_NAME_ex(GENERAL_NAME *out, | 600 | GENERAL_NAME *v2i_GENERAL_NAME_ex(GENERAL_NAME *out, |
| @@ -622,7 +621,6 @@ X509_EXTENSION *X509V3_EXT_conf(LHASH_OF(CONF_VALUE) *conf, X509V3_CTX *ctx, | |||
| 622 | const char *name, const char *value); | 621 | const char *name, const char *value); |
| 623 | 622 | ||
| 624 | void X509V3_set_nconf(X509V3_CTX *ctx, CONF *conf); | 623 | void X509V3_set_nconf(X509V3_CTX *ctx, CONF *conf); |
| 625 | #endif | ||
| 626 | 624 | ||
| 627 | void X509V3_set_ctx(X509V3_CTX *ctx, X509 *issuer, X509 *subject, | 625 | void X509V3_set_ctx(X509V3_CTX *ctx, X509 *issuer, X509 *subject, |
| 628 | X509_REQ *req, X509_CRL *crl, int flags); | 626 | X509_REQ *req, X509_CRL *crl, int flags); |
