From 6a3ccf7fc82b2f6e332784b5c84a0bb210bc129e Mon Sep 17 00:00:00 2001 From: tb <> Date: Tue, 29 Nov 2022 07:12:17 +0000 Subject: 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. --- src/lib/libcrypto/x509/x509_txt.c | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) (limited to 'src') diff --git a/src/lib/libcrypto/x509/x509_txt.c b/src/lib/libcrypto/x509/x509_txt.c index 2a4e49df10..3ac1fd427d 100644 --- a/src/lib/libcrypto/x509/x509_txt.c +++ b/src/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) -- cgit v1.2.3-55-g6feb