VirtualBox

source: vbox/trunk/src/libs/openssl-3.3.2/test/build_wincrypt_test.c@ 108358

最後變更 在這個檔案從108358是 108206,由 vboxsync 提交於 5 週 前

openssl-3.3.2: Exported all files to OSE and removed .scm-settings ​bugref:10757

  • 屬性 svn:eol-style 設為 native
  • 屬性 svn:keywords 設為 Author Date Id Revision
檔案大小: 1.0 KB
 
1/*
2 * Copyright 2022-2023 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# ifdef _MSC_VER
26# pragma message("wincrypt.h no longer defining X509_NAME before OpenSSL headers")
27# else
28# warning "wincrypt.h no longer defining X509_NAME before OpenSSL headers"
29# endif
30# endif
31# endif
32#endif
33
34#include <openssl/opensslconf.h>
35#ifndef OPENSSL_NO_STDIO
36# include <stdio.h>
37#endif
38
39#include <openssl/evp.h>
40#include <openssl/x509.h>
41#include <openssl/x509v3.h>
42
43int main(void)
44{
45 return 0;
46}
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette