aboutsummaryrefslogtreecommitdiff
path: root/patches/cms.h.patch
blob: 5d403cdb8e3addb8c9749403e0dbed9ed329b375 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- include/openssl/cms.h.orig	2026-02-20 16:35:58
+++ include/openssl/cms.h	2026-02-20 16:36:09
@@ -67,6 +67,13 @@
 extern "C" {
 #endif

+#ifdef _MSC_VER
+#ifndef LIBRESSL_INTERNAL
+#include <basetsd.h>
+typedef SSIZE_T ssize_t;
+#endif
+#endif
+
 typedef struct CMS_ContentInfo_st CMS_ContentInfo;
 typedef struct CMS_SignerInfo_st CMS_SignerInfo;
 typedef struct CMS_CertificateChoices CMS_CertificateChoices;