diff options
| author | tb <> | 2024-01-06 17:37:23 +0000 |
|---|---|---|
| committer | tb <> | 2024-01-06 17:37:23 +0000 |
| commit | 628d1ecdb1ac3494c46d3c9eed00fe300b0b80a6 (patch) | |
| tree | 52cdbf9594229dc56ff439ea477e9bdeecbdb1a2 /src/lib/libcrypto/x509 | |
| parent | 4d78f768d61979830158a1936a400d8de46c4bd8 (diff) | |
| download | openbsd-628d1ecdb1ac3494c46d3c9eed00fe300b0b80a6.tar.gz openbsd-628d1ecdb1ac3494c46d3c9eed00fe300b0b80a6.tar.bz2 openbsd-628d1ecdb1ac3494c46d3c9eed00fe300b0b80a6.zip | |
Remove X509_CRL_METHOD internals
Another complication of dubious value that nobody's ever used. crl_init(),
crl_free() and the meth_data are dead weight, as are their accessors.
Inline def_crl_verify() in X509_CRL_verify() so that the latter becomes
the trivial wrapper of ASN1_item_verify() that one would expect it to be.
It is quite unclear what kind of customization would make sense here...
def_crl_lookup() is renamed into crl_lookup() and its two callers,
X509_CRL_lookup_by_{serial,cert}(), are moved below it so that we
don't need a prototype.
ok jsing
Diffstat (limited to 'src/lib/libcrypto/x509')
| -rw-r--r-- | src/lib/libcrypto/x509/x509_local.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/libcrypto/x509/x509_local.h b/src/lib/libcrypto/x509/x509_local.h index 6285370b2d..f62f5ad57d 100644 --- a/src/lib/libcrypto/x509/x509_local.h +++ b/src/lib/libcrypto/x509/x509_local.h | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: x509_local.h,v 1.17 2023/12/29 05:33:32 tb Exp $ */ | 1 | /* $OpenBSD: x509_local.h,v 1.18 2024/01/06 17:37:23 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 2013. | 3 | * project 2013. |
| 4 | */ | 4 | */ |
| @@ -224,8 +224,6 @@ struct X509_crl_st { | |||
| 224 | ASN1_INTEGER *base_crl_number; | 224 | ASN1_INTEGER *base_crl_number; |
| 225 | unsigned char hash[X509_CRL_HASH_LEN]; | 225 | unsigned char hash[X509_CRL_HASH_LEN]; |
| 226 | STACK_OF(GENERAL_NAMES) *issuers; | 226 | STACK_OF(GENERAL_NAMES) *issuers; |
| 227 | const X509_CRL_METHOD *meth; | ||
| 228 | void *meth_data; | ||
| 229 | } /* X509_CRL */; | 227 | } /* X509_CRL */; |
| 230 | 228 | ||
| 231 | struct pkcs8_priv_key_info_st { | 229 | struct pkcs8_priv_key_info_st { |
