projects
/
mech_eap.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Include winsock2.h before openssl/x509v3.h
[mech_eap.git]
/
libeap
/
src
/
crypto
/
tls_openssl.c
diff --git
a/libeap/src/crypto/tls_openssl.c
b/libeap/src/crypto/tls_openssl.c
index
c0a40f9
..
dab489c
100644
(file)
--- a/
libeap/src/crypto/tls_openssl.c
+++ b/
libeap/src/crypto/tls_openssl.c
@@
-19,7
+19,10
@@
#define OPENSSL_NO_ENGINE
#endif
#endif
-
+#ifdef CONFIG_NATIVE_WINDOWS
+// This is necessary with openssl 1.0.1j before including x509v3.h
+#include <winsock2.h>
+#endif
#include <openssl/ssl.h>
#include <openssl/err.h>
#include <openssl/pkcs12.h>