From: tb Date: Sun, 30 Apr 2023 14:59:52 +0000 (+0000) Subject: Send x509_subject_cmp() to the attic X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=0c0ea3df500bed0067be9729f1896f322cda95bf;p=openbsd 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. --- 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)