diff options
author | tb <> | 2024-03-02 10:59:41 +0000 |
---|---|---|
committer | tb <> | 2024-03-02 10:59:41 +0000 |
commit | e046d31060c0d98e03e2a00a0f27d8b56aac8cd6 (patch) | |
tree | 96f5008587b45270105f29dab2a1e01cc5ffaab8 /src/lib/libcrypto/asn1 | |
parent | cd333b96b5f085444ed7033f1da2d1cc1ccb6acc (diff) | |
download | openbsd-e046d31060c0d98e03e2a00a0f27d8b56aac8cd6.tar.gz openbsd-e046d31060c0d98e03e2a00a0f27d8b56aac8cd6.tar.bz2 openbsd-e046d31060c0d98e03e2a00a0f27d8b56aac8cd6.zip |
Remove X509_CRL_METHOD API
I would keep repeating myself... In the bit bucket you go.
ok jsing
Diffstat (limited to 'src/lib/libcrypto/asn1')
-rw-r--r-- | src/lib/libcrypto/asn1/x_crl.c | 35 |
1 files changed, 1 insertions, 34 deletions
diff --git a/src/lib/libcrypto/asn1/x_crl.c b/src/lib/libcrypto/asn1/x_crl.c index b58d88833c..e3d16352a7 100644 --- a/src/lib/libcrypto/asn1/x_crl.c +++ b/src/lib/libcrypto/asn1/x_crl.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: x_crl.c,v 1.42 2024/01/06 17:37:23 tb Exp $ */ | 1 | /* $OpenBSD: x_crl.c,v 1.43 2024/03/02 10:59:41 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -603,39 +603,6 @@ X509_CRL_get0_by_cert(X509_CRL *crl, X509_REVOKED **ret, X509 *x) | |||
603 | X509_get_issuer_name(x)); | 603 | X509_get_issuer_name(x)); |
604 | } | 604 | } |
605 | 605 | ||
606 | void | ||
607 | X509_CRL_set_default_method(const X509_CRL_METHOD *meth) | ||
608 | { | ||
609 | } | ||
610 | |||
611 | X509_CRL_METHOD * | ||
612 | X509_CRL_METHOD_new(int (*crl_init)(X509_CRL *crl), | ||
613 | int (*crl_free)(X509_CRL *crl), | ||
614 | int (*crl_lookup)(X509_CRL *crl, X509_REVOKED **ret, | ||
615 | ASN1_INTEGER *ser, X509_NAME *issuer), | ||
616 | int (*crl_verify)(X509_CRL *crl, EVP_PKEY *pk)) | ||
617 | { | ||
618 | X509error(ERR_R_DISABLED); | ||
619 | return NULL; | ||
620 | } | ||
621 | |||
622 | void | ||
623 | X509_CRL_METHOD_free(X509_CRL_METHOD *m) | ||
624 | { | ||
625 | } | ||
626 | |||
627 | void | ||
628 | X509_CRL_set_meth_data(X509_CRL *crl, void *dat) | ||
629 | { | ||
630 | } | ||
631 | |||
632 | void * | ||
633 | X509_CRL_get_meth_data(X509_CRL *crl) | ||
634 | { | ||
635 | X509error(ERR_R_DISABLED); | ||
636 | return NULL; | ||
637 | } | ||
638 | |||
639 | int | 606 | int |
640 | X509_CRL_get_signature_nid(const X509_CRL *crl) | 607 | X509_CRL_get_signature_nid(const X509_CRL *crl) |
641 | { | 608 | { |