summaryrefslogtreecommitdiffstats
path: root/lib/libcrypto/ui/ui_lib.c
diff options
context:
space:
mode:
authorjsing <jsing@openbsd.org>2014-05-24 09:16:07 +0000
committerjsing <jsing@openbsd.org>2014-05-24 09:16:07 +0000
commit20175b857a0c3817cfda731930e8b4bca7ad6b00 (patch)
tree58413d16b4c5c269a24ca27b994889dcb17837ee /lib/libcrypto/ui/ui_lib.c
parentExpand OPENSSL_{GLOBAL,EXTERN} macros that I missed last time around, (diff)
downloadwireguard-openbsd-20175b857a0c3817cfda731930e8b4bca7ad6b00.tar.xz
wireguard-openbsd-20175b857a0c3817cfda731930e8b4bca7ad6b00.zip
Almost nothing actually needs to include <openssl/e_os2.h>, however by
including it they get <openssl/opensslconf.h>. So instead of pulling in <openssl/e_os2.h>, just pull in <openssl/opensslconf.h>. "go ahead" miod@
Diffstat (limited to 'lib/libcrypto/ui/ui_lib.c')
-rw-r--r--lib/libcrypto/ui/ui_lib.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/libcrypto/ui/ui_lib.c b/lib/libcrypto/ui/ui_lib.c
index 0d3a960052c..db0ef98b721 100644
--- a/lib/libcrypto/ui/ui_lib.c
+++ b/lib/libcrypto/ui/ui_lib.c
@@ -57,8 +57,11 @@
*/
#include <string.h>
+
+#include <openssl/opensslconf.h>
+
#include "cryptlib.h"
-#include <openssl/e_os2.h>
+
#include <openssl/buffer.h>
#include <openssl/ui.h>
#include <openssl/err.h>