summaryrefslogtreecommitdiffstats
path: root/crypto/ossl_typ.h
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2002-02-02 13:19:27 +0000
committerDr. Stephen Henson <steve@openssl.org>2002-02-02 13:19:27 +0000
commit1955b8742354a989650853412c27863f1644e81d (patch)
treebd9ba9482eeb865c943bd282fb8f576d3aaa3299 /crypto/ossl_typ.h
parent866eedb93652b809adc3c81cefaebb63c5ad9044 (diff)
#undef some things that cause a conflict under Win32 when
wincrypt.h is included.
Diffstat (limited to 'crypto/ossl_typ.h')
-rw-r--r--crypto/ossl_typ.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/crypto/ossl_typ.h b/crypto/ossl_typ.h
index b3aa586b18..6bd42aee4d 100644
--- a/crypto/ossl_typ.h
+++ b/crypto/ossl_typ.h
@@ -93,6 +93,11 @@ typedef int ASN1_BOOLEAN;
typedef int ASN1_NULL;
#endif
+#ifdef OPENSSL_SYS_WIN32
+#undef X509_NAME
+#undef PKCS7_ISSUER_AND_SERIAL
+#endif
+
typedef struct evp_cipher_st EVP_CIPHER;
typedef struct evp_cipher_ctx_st EVP_CIPHER_CTX;
typedef struct env_md_st EVP_MD;