diff options
| author | tb <> | 2022-11-29 07:12:17 +0000 |
|---|---|---|
| committer | tb <> | 2022-11-29 07:12:17 +0000 |
| commit | 95494980645428cbe0f13384bc837bc145eef580 (patch) | |
| tree | 53fb46663de399792421272a2506a1909b2e26ab /src | |
| parent | bb7c2b5347cc4c591c848eb601b8e30801ca64c6 (diff) | |
| download | openbsd-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.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) |
