diff options
author | Steffan Karger <steffan@karger.me> | 2014-06-01 19:58:53 +0200 |
---|---|---|
committer | Gert Doering <gert@greenie.muc.de> | 2014-06-01 20:40:21 +0200 |
commit | 67bdede662a90c33502b4f6ed5fac088e90c681a (patch) | |
tree | d1a6744b09061cfd45500a55a49bec1dc6b2bc0d /src/openvpn | |
parent | a87c0a9624d5fb28930d9d137ba9dbd8a2515caf (diff) | |
download | openvpn-67bdede662a90c33502b4f6ed5fac088e90c681a.tar.gz openvpn-67bdede662a90c33502b4f6ed5fac088e90c681a.tar.xz openvpn-67bdede662a90c33502b4f6ed5fac088e90c681a.zip |
Fix ssl.c, ssl_verify_* includes
* ssl.c: remove three unneeded includes
* ssl_verify_polarssl.h: remove two unneeded includes
* ssl_verify_openssl.c: add missing ssl_verify_openssl.h and error.h
includes, and reorder includes.
Signed-off-by: Steffan Karger <steffan@karger.me>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <1401645536-27849-3-git-send-email-steffan@karger.me>
URL: http://article.gmane.org/gmane.network.openvpn.devel/8753
Signed-off-by: Gert Doering <gert@greenie.muc.de>
Diffstat (limited to 'src/openvpn')
-rw-r--r-- | src/openvpn/ssl.c | 4 | ||||
-rw-r--r-- | src/openvpn/ssl_verify_openssl.c | 6 | ||||
-rw-r--r-- | src/openvpn/ssl_verify_polarssl.h | 2 |
3 files changed, 5 insertions, 7 deletions
diff --git a/src/openvpn/ssl.c b/src/openvpn/ssl.c index 9bcb2ac..e9e01ad 100644 --- a/src/openvpn/ssl.c +++ b/src/openvpn/ssl.c @@ -35,7 +35,6 @@ * Both the TLS session and the data channel are multiplexed * over the same TCP/UDP port. */ - #ifdef HAVE_CONFIG_H #include "config.h" #elif defined(_MSC_VER) @@ -48,7 +47,6 @@ #include "error.h" #include "common.h" -#include "integer.h" #include "socket.h" #include "misc.h" #include "fdmisc.h" @@ -57,8 +55,6 @@ #include "status.h" #include "gremlin.h" #include "pkcs11.h" -#include "list.h" -#include "base64.h" #include "route.h" #include "ssl.h" diff --git a/src/openvpn/ssl_verify_openssl.c b/src/openvpn/ssl_verify_openssl.c index 98a888a..2482eaa 100644 --- a/src/openvpn/ssl_verify_openssl.c +++ b/src/openvpn/ssl_verify_openssl.c @@ -37,9 +37,13 @@ #if defined(ENABLE_SSL) && defined(ENABLE_CRYPTO_OPENSSL) +#include "ssl_verify_openssl.h" + +#include "error.h" +#include "ssl_openssl.h" #include "ssl_verify.h" #include "ssl_verify_backend.h" -#include "ssl_openssl.h" + #include <openssl/x509v3.h> #include <openssl/err.h> diff --git a/src/openvpn/ssl_verify_polarssl.h b/src/openvpn/ssl_verify_polarssl.h index b5157ed..2076f2e 100644 --- a/src/openvpn/ssl_verify_polarssl.h +++ b/src/openvpn/ssl_verify_polarssl.h @@ -31,8 +31,6 @@ #define SSL_VERIFY_POLARSSL_H_ #include "syshead.h" -#include "misc.h" -#include "manage.h" #include <polarssl/x509_crt.h> #ifndef __OPENVPN_X509_CERT_T_DECLARED |