Raise an error on syscall failure in tls_retry_write_records
[openssl.git] / test / build_wincrypt_test.c
1 /*
2  * Copyright 2022 The OpenSSL Project Authors. All Rights Reserved.
3  *
4  * Licensed under the Apache License 2.0 (the "License").  You may not use
5  * this file except in compliance with the License.  You can obtain a copy
6  * in the file LICENSE in the source distribution or at
7  * https://www.openssl.org/source/license.html
8  */
9
10 /*
11  * Simple buildtest to check for symbol collisions between wincrypt and
12  * OpenSSL headers
13  */
14
15 #include <openssl/types.h>
16
17 #ifdef _WIN32
18 # ifndef WIN32_LEAN_AND_MEAN
19 #  define WIN32_LEAN_AND_MEAN
20 # endif
21 # include <windows.h>
22 # include <wincrypt.h>
23 # ifndef X509_NAME
24 #  ifndef PEDANTIC
25 #   warning "wincrypt.h no longer defining X509_NAME before OpenSSL headers"
26 #  endif
27 # endif
28 #endif
29
30 #include <openssl/opensslconf.h>
31 #ifndef OPENSSL_NO_STDIO
32 # include <stdio.h>
33 #endif
34
35 #include <openssl/evp.h>
36 #include <openssl/x509.h>
37 #include <openssl/x509v3.h>
38
39 int main(void)
40 {
41     return 0;
42 }