From 51a40d1f6c643bf716ca8dbf69abd9e95b81a665 Mon Sep 17 00:00:00 2001 From: jsing Date: Fri, 2 May 2014 16:58:12 +0000 Subject: [PATCH] Sort and group includes. We also do not need to include openssl/evp.h more than once. ok beck@ --- lib/libssl/src/apps/speed.c | 92 +++++++++++++++++++------------------ 1 file changed, 47 insertions(+), 45 deletions(-) diff --git a/lib/libssl/src/apps/speed.c b/lib/libssl/src/apps/speed.c index 7271f3ba504..29a4b181db0 100644 --- a/lib/libssl/src/apps/speed.c +++ b/lib/libssl/src/apps/speed.c @@ -83,32 +83,52 @@ /* 11-Sep-92 Andrew Daviel Support for Silicon Graphics IRIX added */ /* 06-Apr-92 Luke Brennan Support for VMS and add extra signal calls */ - +#include +#include #include #include - #include -#include -#include "apps.h" +#include + +#include #include -#include #include #include #include -#include - -#include +#include +#include +#include -#include -#ifndef OPENSSL_NO_DES -#include -#endif #ifndef OPENSSL_NO_AES #include #endif +#ifndef OPENSSL_NO_BF +#include +#endif +#ifndef OPENSSL_NO_CAST +#include +#endif #ifndef OPENSSL_NO_CAMELLIA #include #endif +#ifndef OPENSSL_NO_DES +#include +#endif +#ifndef OPENSSL_NO_DSA +#include +#endif +#ifndef OPENSSL_NO_ECDH +#include +#endif +#ifndef OPENSSL_NO_ECDSA +#include +#endif +#ifndef OPENSSL_NO_HMAC +#include +#endif +#ifndef OPENSSL_NO_IDEA +#include +#endif #ifndef OPENSSL_NO_MD2 #include #endif @@ -121,18 +141,8 @@ #ifndef OPENSSL_NO_MD5 #include #endif -#ifndef OPENSSL_NO_HMAC -#include -#endif -#include -#ifndef OPENSSL_NO_SHA -#include -#endif -#ifndef OPENSSL_NO_RIPEMD -#include -#endif -#ifndef OPENSSL_NO_WHIRLPOOL -#include +#ifndef OPENSSL_NO_RC2 +#include #endif #ifndef OPENSSL_NO_RC4 #include @@ -140,38 +150,30 @@ #ifndef OPENSSL_NO_RC5 #include #endif -#ifndef OPENSSL_NO_RC2 -#include +#ifndef OPENSSL_NO_RSA +#include #endif -#ifndef OPENSSL_NO_IDEA -#include +#ifndef OPENSSL_NO_RIPEMD +#include #endif #ifndef OPENSSL_NO_SEED #include #endif -#ifndef OPENSSL_NO_BF -#include -#endif -#ifndef OPENSSL_NO_CAST -#include +#ifndef OPENSSL_NO_SHA +#include #endif -#ifndef OPENSSL_NO_RSA -#include -#include "./testrsa.h" +#ifndef OPENSSL_NO_WHIRLPOOL +#include #endif -#include + +#include "apps.h" + #ifndef OPENSSL_NO_DSA -#include #include "./testdsa.h" #endif -#ifndef OPENSSL_NO_ECDSA -#include -#endif -#ifndef OPENSSL_NO_ECDH -#include +#ifndef OPENSSL_NO_RSA +#include "./testrsa.h" #endif -#include - #undef BUFSIZE #define BUFSIZE ((long)1024*8+1) -- 2.20.1