diff options
author | 2014-07-11 08:44:47 +0000 | |
---|---|---|
committer | 2014-07-11 08:44:47 +0000 | |
commit | b6ab114e77db2581d5bda2ca4b0aa0d68b2e0f90 (patch) | |
tree | 732b2a0b08456ceb9bb211abdcc82bbe057fff19 /lib/libssl/src/crypto/cryptlib.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/libssl/src/crypto/cryptlib.c')
-rw-r--r-- | lib/libssl/src/crypto/cryptlib.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/libssl/src/crypto/cryptlib.c b/lib/libssl/src/crypto/cryptlib.c index 30023af3322..6a75d9568c0 100644 --- a/lib/libssl/src/crypto/cryptlib.c +++ b/lib/libssl/src/crypto/cryptlib.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cryptlib.c,v 1.31 2014/07/10 22:45:56 jsing Exp $ */ +/* $OpenBSD: cryptlib.c,v 1.32 2014/07/11 08:44:47 jsing Exp $ */ /* ==================================================================== * Copyright (c) 1998-2006 The OpenSSL Project. All rights reserved. * @@ -114,12 +114,15 @@ * SUN MICROSYSTEMS, INC., and contributed to the OpenSSL project. */ +#include <stdarg.h> #include <string.h> #include <unistd.h> #include <openssl/opensslconf.h> -#include "cryptlib.h" +#include <openssl/crypto.h> +#include <openssl/buffer.h> +#include <openssl/err.h> #include <openssl/safestack.h> DECLARE_STACK_OF(CRYPTO_dynlock) |