diff options
author | tb <> | 2022-11-29 07:12:17 +0000 |
---|---|---|
committer | tb <> | 2022-11-29 07:12:17 +0000 |
commit | 6a3ccf7fc82b2f6e332784b5c84a0bb210bc129e (patch) | |
tree | 53fb46663de399792421272a2506a1909b2e26ab /src | |
parent | 4dd3ba27be35bf5c0061eca0bcd836ba0ba1802e (diff) | |
download | openbsd-6a3ccf7fc82b2f6e332784b5c84a0bb210bc129e.tar.gz openbsd-6a3ccf7fc82b2f6e332784b5c84a0bb210bc129e.tar.bz2 openbsd-6a3ccf7fc82b2f6e332784b5c84a0bb210bc129e.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.c | 13 |
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 | ||
70 | const char * | 61 | const char * |
71 | X509_verify_cert_error_string(long n) | 62 | X509_verify_cert_error_string(long n) |