summaryrefslogtreecommitdiffstats
path: root/lib/libssl/src/crypto/ui/ui_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/libssl/src/crypto/ui/ui_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/libssl/src/crypto/ui/ui_lib.c')
-rw-r--r--lib/libssl/src/crypto/ui/ui_lib.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/libssl/src/crypto/ui/ui_lib.c b/lib/libssl/src/crypto/ui/ui_lib.c
index fa171b4d212..c2fe62df338 100644
--- a/lib/libssl/src/crypto/ui/ui_lib.c
+++ b/lib/libssl/src/crypto/ui/ui_lib.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ui_lib.c,v 1.24 2014/06/12 15:49:31 deraadt Exp $ */
+/* $OpenBSD: ui_lib.c,v 1.25 2014/07/11 08:44:49 jsing Exp $ */
/* Written by Richard Levitte (richard@levitte.org) for the OpenSSL
* project 2001.
*/
@@ -60,11 +60,10 @@
#include <openssl/opensslconf.h>
-#include "cryptlib.h"
-
#include <openssl/buffer.h>
-#include <openssl/ui.h>
#include <openssl/err.h>
+#include <openssl/ui.h>
+
#include "ui_locl.h"
IMPLEMENT_STACK_OF(UI_STRING_ST) static const UI_METHOD *default_UI_meth = NULL;