diff options
Diffstat (limited to 'patches/pkcs7.h.patch')
-rw-r--r-- | patches/pkcs7.h.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/patches/pkcs7.h.patch b/patches/pkcs7.h.patch new file mode 100644 index 0000000..fa8b297 --- /dev/null +++ b/patches/pkcs7.h.patch | |||
@@ -0,0 +1,19 @@ | |||
1 | --- include/openssl/pkcs7.h.orig 2015-07-06 13:26:27.369203527 -0700 | ||
2 | +++ include/openssl/pkcs7.h 2015-07-06 13:27:37.637051967 -0700 | ||
3 | @@ -69,6 +69,16 @@ | ||
4 | extern "C" { | ||
5 | #endif | ||
6 | |||
7 | +#if defined(_WIN32) && defined(__WINCRYPT_H__) | ||
8 | +#ifdef _MSC_VER | ||
9 | +#pragma message("Warning, overriding WinCrypt defines") | ||
10 | +#else | ||
11 | +#warning overriding WinCrypt defines | ||
12 | +#endif | ||
13 | +#undef PKCS7_ISSUER_AND_SERIAL | ||
14 | +#undef PKCS7_SIGNER_INFO | ||
15 | +#endif | ||
16 | + | ||
17 | /* | ||
18 | Encryption_ID DES-CBC | ||
19 | Digest_ID MD5 | ||