From b84d7c53fec2427d8d237f4cef51f1aeb76d4cf7 Mon Sep 17 00:00:00 2001 From: tb <> Date: Sun, 30 Apr 2023 14:59:52 +0000 Subject: 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. --- src/lib/libcrypto/x509/x509_vfy.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'src/lib') 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 @@ -/* $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) -- cgit v1.2.3-55-g6feb