summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortb <>2022-11-29 07:12:17 +0000
committertb <>2022-11-29 07:12:17 +0000
commit95494980645428cbe0f13384bc837bc145eef580 (patch)
tree53fb46663de399792421272a2506a1909b2e26ab /src
parentbb7c2b5347cc4c591c848eb601b8e30801ca64c6 (diff)
downloadopenbsd-95494980645428cbe0f13384bc837bc145eef580.tar.gz
openbsd-95494980645428cbe0f13384bc837bc145eef580.tar.bz2
openbsd-95494980645428cbe0f13384bc837bc145eef580.zip
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.
Diffstat (limited to 'src')
-rw-r--r--src/lib/libcrypto/x509/x509_txt.c13
1 files changed, 2 insertions, 11 deletions
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 @@
1/* $OpenBSD: x509_txt.c,v 1.24 2022/11/29 07:08:41 tb Exp $ */ 1/* $OpenBSD: x509_txt.c,v 1.25 2022/11/29 07:12:17 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 *
@@ -56,16 +56,7 @@
56 * [including the GNU Public Licence.] 56 * [including the GNU Public Licence.]
57 */ 57 */
58 58
59#include <errno.h> 59#include <openssl/x509_vfy.h>
60#include <stdio.h>
61#include <time.h>
62
63#include <openssl/asn1.h>
64#include <openssl/buffer.h>
65#include <openssl/evp.h>
66#include <openssl/lhash.h>
67#include <openssl/objects.h>
68#include <openssl/x509.h>
69 60
70const char * 61const char *
71X509_verify_cert_error_string(long n) 62X509_verify_cert_error_string(long n)