summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortb <>2023-04-30 14:59:52 +0000
committertb <>2023-04-30 14:59:52 +0000
commitb84d7c53fec2427d8d237f4cef51f1aeb76d4cf7 (patch)
tree7a610313efd2492353a7fb3cfa1654fd9812b185
parent434ee8b2e118b54fb98a6bfd425bb9da625fc656 (diff)
downloadopenbsd-b84d7c53fec2427d8d237f4cef51f1aeb76d4cf7.tar.gz
openbsd-b84d7c53fec2427d8d237f4cef51f1aeb76d4cf7.tar.bz2
openbsd-b84d7c53fec2427d8d237f4cef51f1aeb76d4cf7.zip
Send x509_subject_cmp() to the attic
This helper has been inside #if 0 for nearly 25 years. Let it go. If we should ever need it, I'm quite confident that we will be able to come up with its one line body on our own.
-rw-r--r--src/lib/libcrypto/x509/x509_vfy.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/lib/libcrypto/x509/x509_vfy.c b/src/lib/libcrypto/x509/x509_vfy.c
index cfb568d039..bb94d55dab 100644
--- a/src/lib/libcrypto/x509/x509_vfy.c
+++ b/src/lib/libcrypto/x509/x509_vfy.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: x509_vfy.c,v 1.119 2023/04/30 14:43:04 tb Exp $ */ 1/* $OpenBSD: x509_vfy.c,v 1.120 2023/04/30 14:59:52 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 *
@@ -156,14 +156,6 @@ null_callback(int ok, X509_STORE_CTX *e)
156 return ok; 156 return ok;
157} 157}
158 158
159#if 0
160static int
161x509_subject_cmp(X509 **a, X509 **b)
162{
163 return X509_subject_name_cmp(*a, *b);
164}
165#endif
166
167/* Return 1 if a certificate is self signed */ 159/* Return 1 if a certificate is self signed */
168static int 160static int
169cert_self_signed(X509 *x) 161cert_self_signed(X509 *x)