]> granicus.if.org Git - curl/commitdiff
ldap: build with BoringSSL
authorGisle Vanem <gvanem@yahoo.no>
Wed, 28 Jan 2015 13:22:11 +0000 (14:22 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 28 Jan 2015 13:22:11 +0000 (14:22 +0100)
lib/ldap.c

index 7a6aff179451c0bf6332c92b24c96a17d46d5f65..cc8d29ab12849176800a067e99022c998f9809ed 100644 (file)
 # 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"