diff options
| author | Theo Buehler <tb@openbsd.org> | 2026-03-04 11:34:01 +0100 |
|---|---|---|
| committer | Theo Buehler <tb@openbsd.org> | 2026-03-04 11:34:01 +0100 |
| commit | 17d6299b34a48695d688d71b776ed08dc2b2b19b (patch) | |
| tree | 0b0acc4bce825050db634d457a8b89a73f3fe513 | |
| parent | 47c332a802e83b3baa8aa9f98e397ffc14ef668b (diff) | |
| parent | 10fd3d1868f5d8e7e282aba2be99ec0cf75431e4 (diff) | |
| download | portable-17d6299b34a48695d688d71b776ed08dc2b2b19b.tar.gz portable-17d6299b34a48695d688d71b776ed08dc2b2b19b.tar.bz2 portable-17d6299b34a48695d688d71b776ed08dc2b2b19b.zip | |
Land #1236 - fix cms.h on Windows
| -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; | ||
