summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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)