diff options
author | Joel Sing <jsing@cvs.openbsd.org> | 2014-07-11 08:44:50 +0000 |
---|---|---|
committer | Joel Sing <jsing@cvs.openbsd.org> | 2014-07-11 08:44:50 +0000 |
commit | 7262eba487248ace93831592b64babbfd9ffdf77 (patch) | |
tree | 5c2e5b7e9e56e7b42163be504755f904bad6cb48 /lib/libcrypto/bio/bio_lib.c | |
parent | 26e4c72fed0e35eecec27a1b3b1d1daa1559dc14 (diff) |
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/bio/bio_lib.c')
-rw-r--r-- | lib/libcrypto/bio/bio_lib.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/libcrypto/bio/bio_lib.c b/lib/libcrypto/bio/bio_lib.c index 876a357befe..41b3d31678f 100644 --- a/lib/libcrypto/bio/bio_lib.c +++ b/lib/libcrypto/bio/bio_lib.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bio_lib.c,v 1.18 2014/06/12 15:49:28 deraadt Exp $ */ +/* $OpenBSD: bio_lib.c,v 1.19 2014/07/11 08:44:47 jsing Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -56,11 +56,12 @@ * [including the GNU Public Licence.] */ -#include <stdio.h> #include <errno.h> -#include <openssl/crypto.h> -#include "cryptlib.h" +#include <stdio.h> + #include <openssl/bio.h> +#include <openssl/crypto.h> +#include <openssl/err.h> #include <openssl/stack.h> BIO * |