summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/x509/by_file.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_file.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_file.c')
-rw-r--r--src/lib/libcrypto/x509/by_file.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/lib/libcrypto/x509/by_file.c b/src/lib/libcrypto/x509/by_file.c
index fc2d72bbd2..bfab3761d3 100644
--- a/src/lib/libcrypto/x509/by_file.c
+++ b/src/lib/libcrypto/x509/by_file.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: by_file.c,v 1.29 2023/11/30 17:01:04 beck Exp $ */ 1/* $OpenBSD: by_file.c,v 1.30 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 *
@@ -75,13 +75,8 @@ static X509_LOOKUP_METHOD x509_file_lookup = {
75 .name = "Load file into cache", 75 .name = "Load file into cache",
76 .new_item = NULL, 76 .new_item = NULL,
77 .free = NULL, 77 .free = NULL,
78 .init = NULL,
79 .shutdown = NULL,
80 .ctrl = by_file_ctrl, 78 .ctrl = by_file_ctrl,
81 .get_by_subject = NULL, 79 .get_by_subject = NULL,
82 .get_by_issuer_serial = NULL,
83 .get_by_fingerprint = NULL,
84 .get_by_alias = NULL,
85}; 80};
86 81
87X509_LOOKUP_METHOD * 82X509_LOOKUP_METHOD *