| /*************************************************************************** | |
| * _ _ ____ _ | |
| * Project ___| | | | _ \| | | |
| * / __| | | | |_) | | | |
| * | (__| |_| | _ <| |___ | |
| * \___|\___/|_| \_\_____| | |
| * | |
| * Copyright (C) Marc Hoersken, <[email protected]>, et al. | |
| * Copyright (C) Daniel Stenberg, <[email protected]>, et al. | |
| * | |
| * This software is licensed as described in the file COPYING, which | |
| * you should have received as part of this distribution. The terms | |
| * are also available at https://curl.se/docs/copyright.html. | |
| * | |
| * You may opt to use, copy, modify, merge, publish, distribute and/or sell | |
| * copies of the Software, and permit persons to whom the Software is | |
| * furnished to do so, under the terms of the COPYING file. | |
| * | |
| * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY | |
| * KIND, either express or implied. | |
| * | |
| * SPDX-License-Identifier: curl | |
| * | |
| ***************************************************************************/ | |
| /* Wincrypt must be included before anything that could include OpenSSL. */ | |
| /* Undefine wincrypt conflicting symbols for BoringSSL. */ | |
| /* <wincrypt.h> has been included via the above <schnlsp.h>. | |
| * Or in case of ldap.c, it was included via <winldap.h>. | |
| * And since <wincrypt.h> has this: | |
| * #define X509_NAME ((LPCSTR) 7) | |
| * | |
| * And in BoringSSL's <openssl/base.h> there is: | |
| * typedef struct X509_name_st X509_NAME; | |
| * etc. | |
| * | |
| * this will cause all kinds of C-preprocessing paste errors in | |
| * BoringSSL's <openssl/x509.h>: So just undefine those defines here | |
| * (and only here). | |
| */ | |
| extern const struct Curl_ssl Curl_ssl_schannel; | |
| CURLcode Curl_verify_host(struct Curl_cfilter *cf, | |
| struct Curl_easy *data); | |
| CURLcode Curl_verify_certificate(struct Curl_cfilter *cf, | |
| struct Curl_easy *data); | |