diff --git a/apps/nseq.c b/apps/nseq.c index 93adcdfef..c26f62cb6 100644 --- a/apps/nseq.c +++ b/apps/nseq.c @@ -58,9 +58,9 @@ #include #include +#include "apps.h" #include #include -#include "apps.h" #undef PROG #define PROG nseq_main diff --git a/apps/ocsp.c b/apps/ocsp.c index 50af2a56f..49a156a1c 100644 --- a/apps/ocsp.c +++ b/apps/ocsp.c @@ -58,11 +58,11 @@ #include #include +#include "apps.h" #include #include #include #include -#include "apps.h" /* Maximum leeway in validity period: default 5 minutes */ #define MAX_VALIDITY_PERIOD (5 * 60) diff --git a/apps/openssl.c b/apps/openssl.c index c17458ef7..1c4a4291a 100644 --- a/apps/openssl.c +++ b/apps/openssl.c @@ -114,6 +114,7 @@ #include #include #define OPENSSL_C /* tells apps.h to use complete apps_startup() */ +#include "apps.h" #include #include #include @@ -123,7 +124,6 @@ #include #include #define USE_SOCKETS /* needed for the _O_BINARY defs in the MS world */ -#include "apps.h" #include "progs.h" #include "s_apps.h" #include diff --git a/crypto/engine/hw_ncipher.c b/crypto/engine/hw_ncipher.c index 7c1141afa..4fef86fcc 100644 --- a/crypto/engine/hw_ncipher.c +++ b/crypto/engine/hw_ncipher.c @@ -59,9 +59,9 @@ #include #include +#include "cryptlib.h" #include #include -#include "cryptlib.h" #include #include #include diff --git a/crypto/engine/hw_sureware.c b/crypto/engine/hw_sureware.c index 27d380e8b..89f708661 100644 --- a/crypto/engine/hw_sureware.c +++ b/crypto/engine/hw_sureware.c @@ -51,9 +51,9 @@ ====================================================================*/ #include +#include "cryptlib.h" #include #include -#include "cryptlib.h" #include #include "eng_int.h" #include "engine.h" diff --git a/crypto/evp/evp_pbe.c b/crypto/evp/evp_pbe.c index 06afb9d15..bcd4d29f8 100644 --- a/crypto/evp/evp_pbe.c +++ b/crypto/evp/evp_pbe.c @@ -57,9 +57,9 @@ */ #include +#include "cryptlib.h" #include #include -#include "cryptlib.h" /* Password based encryption (PBE) functions */ diff --git a/crypto/evp/p5_crpt.c b/crypto/evp/p5_crpt.c index 113c60fed..27a828648 100644 --- a/crypto/evp/p5_crpt.c +++ b/crypto/evp/p5_crpt.c @@ -58,9 +58,9 @@ #include #include +#include "cryptlib.h" #include #include -#include "cryptlib.h" /* PKCS#5 v1.5 compatible PBE functions: see PKCS#5 v2.0 for more info. */ diff --git a/crypto/evp/p5_crpt2.c b/crypto/evp/p5_crpt2.c index 7881860b5..7485d6a27 100644 --- a/crypto/evp/p5_crpt2.c +++ b/crypto/evp/p5_crpt2.c @@ -58,10 +58,10 @@ #if !defined(OPENSSL_NO_HMAC) && !defined(OPENSSL_NO_SHA) #include #include +#include "cryptlib.h" #include #include #include -#include "cryptlib.h" /* set this to print out info about the keygen algorithm */ /* #define DEBUG_PKCS5V2 */ diff --git a/ssl/s23_clnt.c b/ssl/s23_clnt.c index b2be8340f..019e9aece 100644 --- a/ssl/s23_clnt.c +++ b/ssl/s23_clnt.c @@ -57,11 +57,11 @@ */ #include +#include "ssl_locl.h" #include #include #include #include -#include "ssl_locl.h" static SSL_METHOD *ssl23_get_client_method(int ver); static int ssl23_client_hello(SSL *s); diff --git a/ssl/s23_pkt.c b/ssl/s23_pkt.c index f45e1ce3d..4ca6a1b25 100644 --- a/ssl/s23_pkt.c +++ b/ssl/s23_pkt.c @@ -59,9 +59,9 @@ #include #include #define USE_SOCKETS +#include "ssl_locl.h" #include #include -#include "ssl_locl.h" int ssl23_write_bytes(SSL *s) { diff --git a/ssl/s23_srvr.c b/ssl/s23_srvr.c index 9e89cc7f9..8743b61cb 100644 --- a/ssl/s23_srvr.c +++ b/ssl/s23_srvr.c @@ -110,11 +110,11 @@ */ #include +#include "ssl_locl.h" #include #include #include #include -#include "ssl_locl.h" static SSL_METHOD *ssl23_get_server_method(int ver); int ssl23_get_client_hello(SSL *s); diff --git a/ssl/s3_both.c b/ssl/s3_both.c index 58a24cd88..8864366f5 100644 --- a/ssl/s3_both.c +++ b/ssl/s3_both.c @@ -112,12 +112,12 @@ #include #include #include +#include "ssl_locl.h" #include #include #include #include #include -#include "ssl_locl.h" /* send s->init_buf in records of type 'type' (SSL3_RT_HANDSHAKE or SSL3_RT_CHANGE_CIPHER_SPEC) */ int ssl3_do_write(SSL *s, int type) diff --git a/ssl/s3_clnt.c b/ssl/s3_clnt.c index e5853ede9..bd9ce5db5 100644 --- a/ssl/s3_clnt.c +++ b/ssl/s3_clnt.c @@ -110,12 +110,12 @@ */ #include +#include "ssl_locl.h" +#include "kssl_lcl.h" #include #include #include #include -#include "ssl_locl.h" -#include "kssl_lcl.h" #include static SSL_METHOD *ssl3_get_client_method(int ver); diff --git a/ssl/s3_enc.c b/ssl/s3_enc.c index 2bb5be49f..888a9a286 100644 --- a/ssl/s3_enc.c +++ b/ssl/s3_enc.c @@ -110,8 +110,8 @@ */ #include -#include #include "ssl_locl.h" +#include #include static unsigned char ssl3_pad_1[48]={ diff --git a/ssl/s3_pkt.c b/ssl/s3_pkt.c index 43e8502b6..6ccea9aee 100644 --- a/ssl/s3_pkt.c +++ b/ssl/s3_pkt.c @@ -112,9 +112,9 @@ #include #include #define USE_SOCKETS +#include "ssl_locl.h" #include #include -#include "ssl_locl.h" static int do_ssl3_write(SSL *s, int type, const unsigned char *buf, unsigned int len, int create_empty_fragment); diff --git a/ssl/s3_srvr.c b/ssl/s3_srvr.c index 99b6a8698..270afb816 100644 --- a/ssl/s3_srvr.c +++ b/ssl/s3_srvr.c @@ -114,14 +114,14 @@ #include +#include "ssl_locl.h" +#include "kssl_lcl.h" #include #include #include #include #include #include -#include "ssl_locl.h" -#include "kssl_lcl.h" #include static SSL_METHOD *ssl3_get_server_method(int ver); diff --git a/ssl/ssl_asn1.c b/ssl/ssl_asn1.c index c5eeeb6bc..b1c2d1715 100644 --- a/ssl/ssl_asn1.c +++ b/ssl/ssl_asn1.c @@ -58,10 +58,10 @@ #include #include +#include "ssl_locl.h" #include #include #include -#include "ssl_locl.h" typedef struct ssl_session_asn1_st { diff --git a/ssl/ssl_lib.c b/ssl/ssl_lib.c index df307a80c..ab172aeae 100644 --- a/ssl/ssl_lib.c +++ b/ssl/ssl_lib.c @@ -116,11 +116,11 @@ # include #endif #include +#include "ssl_locl.h" +#include "kssl_lcl.h" #include #include #include -#include "ssl_locl.h" -#include "kssl_lcl.h" const char *SSL_version_str=OPENSSL_VERSION_TEXT; diff --git a/ssl/ssl_rsa.c b/ssl/ssl_rsa.c index 1cf8e2093..03828b663 100644 --- a/ssl/ssl_rsa.c +++ b/ssl/ssl_rsa.c @@ -57,12 +57,12 @@ */ #include +#include "ssl_locl.h" #include #include #include #include #include -#include "ssl_locl.h" static int ssl_set_cert(CERT *c, X509 *x509); static int ssl_set_pkey(CERT *c, EVP_PKEY *pkey); diff --git a/ssl/t1_clnt.c b/ssl/t1_clnt.c index 9745630a0..9ad518f9f 100644 --- a/ssl/t1_clnt.c +++ b/ssl/t1_clnt.c @@ -57,11 +57,11 @@ */ #include +#include "ssl_locl.h" #include #include #include #include -#include "ssl_locl.h" static SSL_METHOD *tls1_get_client_method(int ver); static SSL_METHOD *tls1_get_client_method(int ver) diff --git a/ssl/t1_enc.c b/ssl/t1_enc.c index 1f6bb2edf..0b512aa70 100644 --- a/ssl/t1_enc.c +++ b/ssl/t1_enc.c @@ -110,10 +110,10 @@ */ #include +#include "ssl_locl.h" #include #include #include -#include "ssl_locl.h" #include static void tls1_P_hash(const EVP_MD *md, const unsigned char *sec, diff --git a/ssl/t1_srvr.c b/ssl/t1_srvr.c index 996b7ca8e..6e765e587 100644 --- a/ssl/t1_srvr.c +++ b/ssl/t1_srvr.c @@ -57,12 +57,12 @@ */ #include +#include "ssl_locl.h" #include #include #include #include #include -#include "ssl_locl.h" static SSL_METHOD *tls1_get_server_method(int ver); static SSL_METHOD *tls1_get_server_method(int ver)