summaryrefslogtreecommitdiffstats
path: root/crypto/pkcs7/pkcs7.h
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>1999-05-21 12:14:35 +0000
committerDr. Stephen Henson <steve@openssl.org>1999-05-21 12:14:35 +0000
commit4b55c2a3a9590fd27f865e2325195a2e14215bce (patch)
treecbbb1e77e1ecb5eddd72187f4a741c6d12907dd5 /crypto/pkcs7/pkcs7.h
parent470df4b90563e3ef3e4fff1771f88e78b72cc760 (diff)
Move the Win32 #undefs of X509_NAME and PKCS7_ISSUER_AND_SERIAL so they will
always get included with the relevant files.
Diffstat (limited to 'crypto/pkcs7/pkcs7.h')
-rw-r--r--crypto/pkcs7/pkcs7.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/crypto/pkcs7/pkcs7.h b/crypto/pkcs7/pkcs7.h
index 80c725dcd5..197b257725 100644
--- a/crypto/pkcs7/pkcs7.h
+++ b/crypto/pkcs7/pkcs7.h
@@ -66,6 +66,11 @@ extern "C" {
#include <openssl/bio.h>
#include <openssl/x509.h>
+#ifdef WIN32
+/* Under Win32 this is defined in wincrypt.h */
+#undef PKCS7_ISSUER_AND_SERIAL
+#endif
+
/*
Encryption_ID DES-CBC
Digest_ID MD5