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/cversion.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/cversion.c')
-rw-r--r-- | lib/libcrypto/cversion.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libcrypto/cversion.c b/lib/libcrypto/cversion.c index 68f27633db7..e9f40c24cff 100644 --- a/lib/libcrypto/cversion.c +++ b/lib/libcrypto/cversion.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cversion.c,v 1.13 2014/06/12 15:49:27 deraadt Exp $ */ +/* $OpenBSD: cversion.c,v 1.14 2014/07/11 08:44:47 jsing Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -56,7 +56,8 @@ * [including the GNU Public Licence.] */ -#include "cryptlib.h" +#include <openssl/crypto.h> +#include <openssl/opensslv.h> const char * SSLeay_version(int t) |