diff options
| -rw-r--r-- | patches/cms.h.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/patches/cms.h.patch b/patches/cms.h.patch new file mode 100644 index 0000000..5d403cd --- /dev/null +++ b/patches/cms.h.patch | |||
| @@ -0,0 +1,16 @@ | |||
| 1 | --- include/openssl/cms.h.orig 2026-02-20 16:35:58 | ||
| 2 | +++ include/openssl/cms.h 2026-02-20 16:36:09 | ||
| 3 | @@ -67,6 +67,13 @@ | ||
| 4 | extern "C" { | ||
| 5 | #endif | ||
| 6 | |||
| 7 | +#ifdef _MSC_VER | ||
| 8 | +#ifndef LIBRESSL_INTERNAL | ||
| 9 | +#include <basetsd.h> | ||
| 10 | +typedef SSIZE_T ssize_t; | ||
| 11 | +#endif | ||
| 12 | +#endif | ||
| 13 | + | ||
| 14 | typedef struct CMS_ContentInfo_st CMS_ContentInfo; | ||
| 15 | typedef struct CMS_SignerInfo_st CMS_SignerInfo; | ||
| 16 | typedef struct CMS_CertificateChoices CMS_CertificateChoices; | ||
