summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/x509/by_dir.c
diff options
context:
space:
mode:
authortb <>2023-12-25 22:14:23 +0000
committertb <>2023-12-25 22:14:23 +0000
commit242a046bef09576e509ed521d7e6ac2c279faf7e (patch)
treeab09d153b5d8919d47d19e8b1b2037f787eac3a7 /src/lib/libcrypto/x509/by_dir.c
parenta42068ce674b48e2f26710269f43fa6c18e895dc (diff)
downloadopenbsd-242a046bef09576e509ed521d7e6ac2c279faf7e.tar.gz
openbsd-242a046bef09576e509ed521d7e6ac2c279faf7e.tar.bz2
openbsd-242a046bef09576e509ed521d7e6ac2c279faf7e.zip
Remove unused X509_LOOKUP_METHODs
None of these function pointers were ever set. Now that the structure is opaque they won't ever be, so time for them to hit the bitbucket. Infinite extensibility of the toolkit results in complications, bugs, and dead code. ok jsing
Diffstat (limited to 'src/lib/libcrypto/x509/by_dir.c')
-rw-r--r--src/lib/libcrypto/x509/by_dir.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/lib/libcrypto/x509/by_dir.c b/src/lib/libcrypto/x509/by_dir.c
index 9fa6a10048..88c06513ad 100644
--- a/src/lib/libcrypto/x509/by_dir.c
+++ b/src/lib/libcrypto/x509/by_dir.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: by_dir.c,v 1.44 2023/02/16 08:38:17 tb Exp $ */ 1/* $OpenBSD: by_dir.c,v 1.45 2023/12/25 22:14:23 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 *
@@ -103,13 +103,8 @@ static X509_LOOKUP_METHOD x509_dir_lookup = {
103 .name = "Load certs from files in a directory", 103 .name = "Load certs from files in a directory",
104 .new_item = new_dir, 104 .new_item = new_dir,
105 .free = free_dir, 105 .free = free_dir,
106 .init = NULL,
107 .shutdown = NULL,
108 .ctrl = dir_ctrl, 106 .ctrl = dir_ctrl,
109 .get_by_subject = get_cert_by_subject, 107 .get_by_subject = get_cert_by_subject,
110 .get_by_issuer_serial = NULL,
111 .get_by_fingerprint = NULL,
112 .get_by_alias = NULL,
113}; 108};
114 109
115X509_LOOKUP_METHOD * 110X509_LOOKUP_METHOD *