aboutsummaryrefslogtreecommitdiff
path: root/lib/ldap.c
diff options
context:
space:
mode:
authorGisle Vanem <gisle.vanem@gmail.com>2018-06-08 15:10:05 +0200
committerDaniel Stenberg <daniel@haxx.se>2018-06-08 23:25:17 +0200
commit274940d7438af7ef92ce3e11d75620db94675932 (patch)
tree7457bcb61eeec23d8432556f847062b0dfcfe4fe /lib/ldap.c
parent9ff67f7b00f16da9f9f3377b6b8f5859dd9cd2cb (diff)
boringssl + schannel: undef X509_NAME in lib/schannel.h
Fixes the build problem when both boringssl and schannel are enabled. Fixes #2634 Closes #2643
Diffstat (limited to 'lib/ldap.c')
-rw-r--r--lib/ldap.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/ldap.c b/lib/ldap.c
index 89047bcbd..4d8f4fa28 100644
--- a/lib/ldap.c
+++ b/lib/ldap.c
@@ -54,15 +54,6 @@
# endif /* HAVE_LDAP_SSL && HAVE_LDAP_SSL_H */
#endif
-/* These are macros in both <wincrypt.h> (in above <winldap.h>) and typedefs
- * in BoringSSL's <openssl/x509.h>
- */
-#ifdef HAVE_BORINGSSL
-# undef X509_NAME
-# undef X509_CERT_PAIR
-# undef X509_EXTENSIONS
-#endif
-
#include "urldata.h"
#include <curl/curl.h>
#include "sendf.h"