diff options
author | jsing <> | 2014-07-11 08:44:49 +0000 |
---|---|---|
committer | jsing <> | 2014-07-11 08:44:49 +0000 |
commit | 8c3482db610348be15fb633bb52b0511c2cabbcf (patch) | |
tree | 0e726f9e971e00f4c8cd8afab71589803fc11b7f /src/lib/libcrypto/ui/ui_lib.c | |
parent | a336cdb63c1fe5d934826147bf5c19d317ced73b (diff) | |
download | openbsd-8c3482db610348be15fb633bb52b0511c2cabbcf.tar.gz openbsd-8c3482db610348be15fb633bb52b0511c2cabbcf.tar.bz2 openbsd-8c3482db610348be15fb633bb52b0511c2cabbcf.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 'src/lib/libcrypto/ui/ui_lib.c')
-rw-r--r-- | src/lib/libcrypto/ui/ui_lib.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/lib/libcrypto/ui/ui_lib.c b/src/lib/libcrypto/ui/ui_lib.c index fa171b4d21..c2fe62df33 100644 --- a/src/lib/libcrypto/ui/ui_lib.c +++ b/src/lib/libcrypto/ui/ui_lib.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ui_lib.c,v 1.24 2014/06/12 15:49:31 deraadt Exp $ */ | 1 | /* $OpenBSD: ui_lib.c,v 1.25 2014/07/11 08:44:49 jsing Exp $ */ |
2 | /* Written by Richard Levitte (richard@levitte.org) for the OpenSSL | 2 | /* Written by Richard Levitte (richard@levitte.org) for the OpenSSL |
3 | * project 2001. | 3 | * project 2001. |
4 | */ | 4 | */ |
@@ -60,11 +60,10 @@ | |||
60 | 60 | ||
61 | #include <openssl/opensslconf.h> | 61 | #include <openssl/opensslconf.h> |
62 | 62 | ||
63 | #include "cryptlib.h" | ||
64 | |||
65 | #include <openssl/buffer.h> | 63 | #include <openssl/buffer.h> |
66 | #include <openssl/ui.h> | ||
67 | #include <openssl/err.h> | 64 | #include <openssl/err.h> |
65 | #include <openssl/ui.h> | ||
66 | |||
68 | #include "ui_locl.h" | 67 | #include "ui_locl.h" |
69 | 68 | ||
70 | IMPLEMENT_STACK_OF(UI_STRING_ST) static const UI_METHOD *default_UI_meth = NULL; | 69 | IMPLEMENT_STACK_OF(UI_STRING_ST) static const UI_METHOD *default_UI_meth = NULL; |