From: tb Date: Tue, 18 Apr 2023 08:47:28 +0000 (+0000) Subject: Bring includes into canonical order X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=7e2b557a74882df8b710f53045f67999cef7d8be;p=openbsd Bring includes into canonical order Requested by jsing --- diff --git a/lib/libcrypto/asn1/asn1.h b/lib/libcrypto/asn1/asn1.h index 01bfcd31e0e..03d7a2939f6 100644 --- a/lib/libcrypto/asn1/asn1.h +++ b/lib/libcrypto/asn1/asn1.h @@ -1,4 +1,4 @@ -/* $OpenBSD: asn1.h,v 1.73 2023/04/18 08:33:43 tb Exp $ */ +/* $OpenBSD: asn1.h,v 1.74 2023/04/18 08:47:28 tb Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -66,11 +66,11 @@ #ifndef OPENSSL_NO_BIO #include #endif +#include #include #include #include -#include #ifdef __cplusplus extern "C" { diff --git a/lib/libcrypto/dsa/dsa.h b/lib/libcrypto/dsa/dsa.h index 3d81dc6dec8..8029e7f94c4 100644 --- a/lib/libcrypto/dsa/dsa.h +++ b/lib/libcrypto/dsa/dsa.h @@ -1,4 +1,4 @@ -/* $OpenBSD: dsa.h,v 1.42 2023/04/18 08:33:43 tb Exp $ */ +/* $OpenBSD: dsa.h,v 1.43 2023/04/18 08:47:28 tb Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -74,14 +74,14 @@ #ifndef OPENSSL_NO_BIO #include #endif -#include -#include - #include +#include #ifndef OPENSSL_NO_DH # include #endif +#include + #ifndef OPENSSL_DSA_MAX_MODULUS_BITS # define OPENSSL_DSA_MAX_MODULUS_BITS 10000 #endif diff --git a/lib/libcrypto/ecdsa/ecdsa.h b/lib/libcrypto/ecdsa/ecdsa.h index d095ef40a39..6139dbac1a4 100644 --- a/lib/libcrypto/ecdsa/ecdsa.h +++ b/lib/libcrypto/ecdsa/ecdsa.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ecdsa.h,v 1.14 2023/04/18 08:33:43 tb Exp $ */ +/* $OpenBSD: ecdsa.h,v 1.15 2023/04/18 08:47:28 tb Exp $ */ /** * \file crypto/ecdsa/ecdsa.h Include file for the OpenSSL ECDSA functions * \author Written by Nils Larsch for the OpenSSL project @@ -65,9 +65,10 @@ #error ECDSA is disabled. #endif +#include #include + #include -#include #ifdef __cplusplus extern "C" { diff --git a/lib/libcrypto/engine/engine.h b/lib/libcrypto/engine/engine.h index 8a3574fd575..51c6b633935 100644 --- a/lib/libcrypto/engine/engine.h +++ b/lib/libcrypto/engine/engine.h @@ -1,4 +1,4 @@ -/* $OpenBSD: engine.h,v 1.36 2023/04/18 08:33:43 tb Exp $ */ +/* $OpenBSD: engine.h,v 1.37 2023/04/18 08:47:28 tb Exp $ */ /* Written by Geoff Thorpe (geoff@geoffthorpe.net) for the OpenSSL * project 2000. */ @@ -71,14 +71,14 @@ #endif #include -#ifndef OPENSSL_NO_RSA -#include +#ifndef OPENSSL_NO_DH +#include #endif #ifndef OPENSSL_NO_DSA #include #endif -#ifndef OPENSSL_NO_DH -#include +#ifndef OPENSSL_NO_EC +#include #endif #ifndef OPENSSL_NO_ECDH #include @@ -86,11 +86,11 @@ #ifndef OPENSSL_NO_ECDSA #include #endif -#ifndef OPENSSL_NO_EC -#include +#include +#ifndef OPENSSL_NO_RSA +#include #endif #include -#include #include diff --git a/lib/libcrypto/rsa/rsa.h b/lib/libcrypto/rsa/rsa.h index bf0aac647e7..cddd80bc856 100644 --- a/lib/libcrypto/rsa/rsa.h +++ b/lib/libcrypto/rsa/rsa.h @@ -1,4 +1,4 @@ -/* $OpenBSD: rsa.h,v 1.61 2023/04/18 08:33:43 tb Exp $ */ +/* $OpenBSD: rsa.h,v 1.62 2023/04/18 08:47:28 tb Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -66,9 +66,10 @@ #ifndef OPENSSL_NO_BIO #include #endif +#include #include + #include -#include #ifdef OPENSSL_NO_RSA #error RSA is disabled. diff --git a/lib/libcrypto/x509/x509.h b/lib/libcrypto/x509/x509.h index ac14dd38683..9f87700c60f 100644 --- a/lib/libcrypto/x509/x509.h +++ b/lib/libcrypto/x509/x509.h @@ -1,4 +1,4 @@ -/* $OpenBSD: x509.h,v 1.95 2023/04/18 08:33:43 tb Exp $ */ +/* $OpenBSD: x509.h,v 1.96 2023/04/18 08:47:28 tb Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -66,44 +66,40 @@ #include +#include +#ifndef OPENSSL_NO_BIO +#include +#endif #ifndef OPENSSL_NO_BUFFER #include #endif -#ifndef OPENSSL_NO_EVP -#include +#ifndef OPENSSL_NO_DH +#include #endif -#ifndef OPENSSL_NO_BIO -#include +#ifndef OPENSSL_NO_DSA +#include #endif -#include -#include -#include - #ifndef OPENSSL_NO_EC #include #endif - #ifndef OPENSSL_NO_ECDSA #include #endif - #ifndef OPENSSL_NO_ECDH #include #endif - +#ifndef OPENSSL_NO_EVP +#include +#endif #ifndef OPENSSL_NO_RSA #include #endif -#ifndef OPENSSL_NO_DSA -#include -#endif -#ifndef OPENSSL_NO_DH -#include -#endif - #ifndef OPENSSL_NO_SHA #include #endif +#include +#include + #include #ifdef __cplusplus