diff options
author | tb <> | 2024-03-02 10:57:03 +0000 |
---|---|---|
committer | tb <> | 2024-03-02 10:57:03 +0000 |
commit | cd333b96b5f085444ed7033f1da2d1cc1ccb6acc (patch) | |
tree | 077afe863b1e03170c61fd04aaca7031177307f3 /src/lib/libcrypto/x509/x509_vfy.h | |
parent | 6935bdb97401d65a91794acf5f026aa97d5dc06b (diff) | |
download | openbsd-cd333b96b5f085444ed7033f1da2d1cc1ccb6acc.tar.gz openbsd-cd333b96b5f085444ed7033f1da2d1cc1ccb6acc.tar.bz2 openbsd-cd333b96b5f085444ed7033f1da2d1cc1ccb6acc.zip |
Garbage collect most of the public LOOKUP API
Yet another bit of extensibility that no one ever really used.
X509_LOOKUP_free() needs to stay because of ... rust-openssl
(and kdelibs4support).
ok jsing
Diffstat (limited to 'src/lib/libcrypto/x509/x509_vfy.h')
-rw-r--r-- | src/lib/libcrypto/x509/x509_vfy.h | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/src/lib/libcrypto/x509/x509_vfy.h b/src/lib/libcrypto/x509/x509_vfy.h index 6474d5238a..755a064353 100644 --- a/src/lib/libcrypto/x509/x509_vfy.h +++ b/src/lib/libcrypto/x509/x509_vfy.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: x509_vfy.h,v 1.67 2024/03/02 10:54:39 tb Exp $ */ | 1 | /* $OpenBSD: x509_vfy.h,v 1.68 2024/03/02 10:57:03 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 | * |
@@ -363,19 +363,7 @@ int X509_load_cert_file(X509_LOOKUP *ctx, const char *file, int type); | |||
363 | int X509_load_crl_file(X509_LOOKUP *ctx, const char *file, int type); | 363 | int X509_load_crl_file(X509_LOOKUP *ctx, const char *file, int type); |
364 | int X509_load_cert_crl_file(X509_LOOKUP *ctx, const char *file, int type); | 364 | int X509_load_cert_crl_file(X509_LOOKUP *ctx, const char *file, int type); |
365 | 365 | ||
366 | |||
367 | X509_LOOKUP *X509_LOOKUP_new(X509_LOOKUP_METHOD *method); | ||
368 | void X509_LOOKUP_free(X509_LOOKUP *ctx); | 366 | void X509_LOOKUP_free(X509_LOOKUP *ctx); |
369 | int X509_LOOKUP_init(X509_LOOKUP *ctx); | ||
370 | int X509_LOOKUP_by_subject(X509_LOOKUP *ctx, X509_LOOKUP_TYPE type, | ||
371 | X509_NAME *name, X509_OBJECT *ret); | ||
372 | int X509_LOOKUP_by_issuer_serial(X509_LOOKUP *ctx, X509_LOOKUP_TYPE type, | ||
373 | X509_NAME *name, ASN1_INTEGER *serial, X509_OBJECT *ret); | ||
374 | int X509_LOOKUP_by_fingerprint(X509_LOOKUP *ctx, X509_LOOKUP_TYPE type, | ||
375 | const unsigned char *bytes, int len, X509_OBJECT *ret); | ||
376 | int X509_LOOKUP_by_alias(X509_LOOKUP *ctx, X509_LOOKUP_TYPE type, | ||
377 | const char *str, int len, X509_OBJECT *ret); | ||
378 | int X509_LOOKUP_shutdown(X509_LOOKUP *ctx); | ||
379 | 367 | ||
380 | int X509_STORE_load_locations(X509_STORE *ctx, | 368 | int X509_STORE_load_locations(X509_STORE *ctx, |
381 | const char *file, const char *dir); | 369 | const char *file, const char *dir); |