summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/x509/x509_vfy.h
diff options
context:
space:
mode:
authortb <>2024-03-02 10:57:03 +0000
committertb <>2024-03-02 10:57:03 +0000
commitcd333b96b5f085444ed7033f1da2d1cc1ccb6acc (patch)
tree077afe863b1e03170c61fd04aaca7031177307f3 /src/lib/libcrypto/x509/x509_vfy.h
parent6935bdb97401d65a91794acf5f026aa97d5dc06b (diff)
downloadopenbsd-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.h14
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);
363int X509_load_crl_file(X509_LOOKUP *ctx, const char *file, int type); 363int X509_load_crl_file(X509_LOOKUP *ctx, const char *file, int type);
364int X509_load_cert_crl_file(X509_LOOKUP *ctx, const char *file, int type); 364int X509_load_cert_crl_file(X509_LOOKUP *ctx, const char *file, int type);
365 365
366
367X509_LOOKUP *X509_LOOKUP_new(X509_LOOKUP_METHOD *method);
368void X509_LOOKUP_free(X509_LOOKUP *ctx); 366void X509_LOOKUP_free(X509_LOOKUP *ctx);
369int X509_LOOKUP_init(X509_LOOKUP *ctx);
370int X509_LOOKUP_by_subject(X509_LOOKUP *ctx, X509_LOOKUP_TYPE type,
371 X509_NAME *name, X509_OBJECT *ret);
372int X509_LOOKUP_by_issuer_serial(X509_LOOKUP *ctx, X509_LOOKUP_TYPE type,
373 X509_NAME *name, ASN1_INTEGER *serial, X509_OBJECT *ret);
374int X509_LOOKUP_by_fingerprint(X509_LOOKUP *ctx, X509_LOOKUP_TYPE type,
375 const unsigned char *bytes, int len, X509_OBJECT *ret);
376int X509_LOOKUP_by_alias(X509_LOOKUP *ctx, X509_LOOKUP_TYPE type,
377 const char *str, int len, X509_OBJECT *ret);
378int X509_LOOKUP_shutdown(X509_LOOKUP *ctx);
379 367
380int X509_STORE_load_locations(X509_STORE *ctx, 368int X509_STORE_load_locations(X509_STORE *ctx,
381 const char *file, const char *dir); 369 const char *file, const char *dir);