From 6ff72a0d8a80547c0b6c1bf8685c1467e17dd4fc Mon Sep 17 00:00:00 2001 From: tb Date: Tue, 29 Nov 2022 07:12:17 +0000 Subject: [PATCH] Fix includes No need for errno, stdio, time, asn1, buffer, evp, lhash, objects, x509 for a switch containing string constants. We do need x509_vfy instead. --- lib/libcrypto/x509/x509_txt.c | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/lib/libcrypto/x509/x509_txt.c b/lib/libcrypto/x509/x509_txt.c index 2a4e49df10d..3ac1fd427d2 100644 --- a/lib/libcrypto/x509/x509_txt.c +++ b/lib/libcrypto/x509/x509_txt.c @@ -1,4 +1,4 @@ -/* $OpenBSD: x509_txt.c,v 1.24 2022/11/29 07:08:41 tb Exp $ */ +/* $OpenBSD: x509_txt.c,v 1.25 2022/11/29 07:12:17 tb Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -56,16 +56,7 @@ * [including the GNU Public Licence.] */ -#include -#include -#include - -#include -#include -#include -#include -#include -#include +#include const char * X509_verify_cert_error_string(long n) -- 2.20.1