diff options
author | 2014-07-11 08:44:47 +0000 | |
---|---|---|
committer | 2014-07-11 08:44:47 +0000 | |
commit | b6ab114e77db2581d5bda2ca4b0aa0d68b2e0f90 (patch) | |
tree | 732b2a0b08456ceb9bb211abdcc82bbe057fff19 /lib/libcrypto/evp/p_lib.c | |
parent | Add a small note about LibReSSL at the start of this. (diff) | |
download | wireguard-openbsd-b6ab114e77db2581d5bda2ca4b0aa0d68b2e0f90.tar.xz wireguard-openbsd-b6ab114e77db2581d5bda2ca4b0aa0d68b2e0f90.zip |
Only import cryptlib.h in the four source files that actually need it.
Remove the openssl public includes from cryptlib.h and add a small number
of includes into the source files that actually need them. While here,
also sort/group/tidy the includes.
ok beck@ miod@
Diffstat (limited to 'lib/libcrypto/evp/p_lib.c')
-rw-r--r-- | lib/libcrypto/evp/p_lib.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/libcrypto/evp/p_lib.c b/lib/libcrypto/evp/p_lib.c index 6db5e95cd07..617d0f8ec32 100644 --- a/lib/libcrypto/evp/p_lib.c +++ b/lib/libcrypto/evp/p_lib.c @@ -1,4 +1,4 @@ -/* $OpenBSD: p_lib.c,v 1.14 2014/07/10 22:45:57 jsing Exp $ */ +/* $OpenBSD: p_lib.c,v 1.15 2014/07/11 08:44:48 jsing Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -60,21 +60,21 @@ #include <openssl/opensslconf.h> -#include "cryptlib.h" +#include <openssl/asn1_mac.h> #include <openssl/bn.h> #include <openssl/err.h> -#include <openssl/objects.h> #include <openssl/evp.h> -#include <openssl/asn1_mac.h> +#include <openssl/objects.h> #include <openssl/x509.h> -#ifndef OPENSSL_NO_RSA -#include <openssl/rsa.h> + +#ifndef OPENSSL_NO_DH +#include <openssl/dh.h> #endif #ifndef OPENSSL_NO_DSA #include <openssl/dsa.h> #endif -#ifndef OPENSSL_NO_DH -#include <openssl/dh.h> +#ifndef OPENSSL_NO_RSA +#include <openssl/rsa.h> #endif #ifndef OPENSSL_NO_ENGINE |