summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2023-04-30 14:59:53 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2023-04-30 14:59:53 +0000
commit91e93bf01a511ca5b675c9cd803007e6631ed1fb (patch)
tree66fc89e06947a9c239794a8f9eca21fe40953ea0
parent1168f03e27cd288107fb4a8dad3dbf7c0b742f93 (diff)
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--lib/libcrypto/x509/x509_vfy.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/lib/libcrypto/x509/x509_vfy.c b/lib/libcrypto/x509/x509_vfy.c
index cfb568d039f..bb94d55daba 100644
--- a/lib/libcrypto/x509/x509_vfy.c
+++ b/lib/libcrypto/x509/x509_vfy.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: x509_vfy.c,v 1.119 2023/04/30 14:43:04 tb Exp $ */
+/* $OpenBSD: x509_vfy.c,v 1.120 2023/04/30 14:59:52 tb Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -156,14 +156,6 @@ null_callback(int ok, X509_STORE_CTX *e)
return ok;
}
-#if 0
-static int
-x509_subject_cmp(X509 **a, X509 **b)
-{
- return X509_subject_name_cmp(*a, *b);
-}
-#endif
-
/* Return 1 if a certificate is self signed */
static int
cert_self_signed(X509 *x)