提交 f96d1af4 编写于 作者: D Dr. Stephen Henson

Avoid clashes with Win32 names in WinCrypt.h

上级 968766ca
...@@ -97,6 +97,7 @@ typedef int ASN1_NULL; ...@@ -97,6 +97,7 @@ typedef int ASN1_NULL;
#ifdef OPENSSL_SYS_WIN32 #ifdef OPENSSL_SYS_WIN32
#undef X509_NAME #undef X509_NAME
#undef X509_CERT_PAIR
#undef PKCS7_ISSUER_AND_SERIAL #undef PKCS7_ISSUER_AND_SERIAL
#endif #endif
......
...@@ -112,8 +112,9 @@ extern "C" { ...@@ -112,8 +112,9 @@ extern "C" {
#endif #endif
#ifdef OPENSSL_SYS_WIN32 #ifdef OPENSSL_SYS_WIN32
/* Under Win32 this is defined in wincrypt.h */ /* Under Win32 these are defined in wincrypt.h */
#undef X509_NAME #undef X509_NAME
#undef X509_CERT_PAIR
#endif #endif
#define X509_FILETYPE_PEM 1 #define X509_FILETYPE_PEM 1
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册