summaryrefslogtreecommitdiffstats
path: root/lib/libcrypto/ts/ts_lib.c
diff options
context:
space:
mode:
authorjsing <jsing@openbsd.org>2014-07-11 08:44:47 +0000
committerjsing <jsing@openbsd.org>2014-07-11 08:44:47 +0000
commitb6ab114e77db2581d5bda2ca4b0aa0d68b2e0f90 (patch)
tree732b2a0b08456ceb9bb211abdcc82bbe057fff19 /lib/libcrypto/ts/ts_lib.c
parentAdd a small note about LibReSSL at the start of this. (diff)
downloadwireguard-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/ts/ts_lib.c')
-rw-r--r--lib/libcrypto/ts/ts_lib.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/libcrypto/ts/ts_lib.c b/lib/libcrypto/ts/ts_lib.c
index ad37037b7fc..f08bb8701de 100644
--- a/lib/libcrypto/ts/ts_lib.c
+++ b/lib/libcrypto/ts/ts_lib.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ts_lib.c,v 1.7 2014/07/10 13:58:23 jsing Exp $ */
+/* $OpenBSD: ts_lib.c,v 1.8 2014/07/11 08:44:49 jsing Exp $ */
/* Written by Zoltan Glozik (zglozik@stones.com) for the OpenSSL
* project 2002.
*/
@@ -59,11 +59,10 @@
#include <stdio.h>
#include <string.h>
-#include "cryptlib.h"
-#include <openssl/objects.h>
#include <openssl/bn.h>
-#include <openssl/x509v3.h>
+#include <openssl/objects.h>
#include <openssl/ts.h>
+#include <openssl/x509v3.h>
/* Local function declarations. */