wincrypt: add missing message flags and parameters

Juan Lang juan.lang at gmail.com
Thu Jun 28 12:09:33 CDT 2007


Skipped content of type multipart/alternative-------------- next part --------------
From 4e17494feb8a595e20f93088d94969cbabab375a Mon Sep 17 00:00:00 2001
From: Juan Lang <juanlang at juan.corp.google.com>
Date: Thu, 28 Jun 2007 10:07:57 -0700
Subject: [PATCH] Add missing message flags and parameters
---
 include/wincrypt.h |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/include/wincrypt.h b/include/wincrypt.h
index f4a15da..4dfbf27 100644
--- a/include/wincrypt.h
+++ b/include/wincrypt.h
@@ -3127,6 +3127,8 @@ #define CMSG_DETACHED_FLAG              
 #define CMSG_AUTHENTICATED_ATTRIBUTES_FLAG 0x00000008
 #define CMSG_CONTENTS_OCTETS_FLAG          0x00000010
 #define CMSG_MAX_LENGTH_FLAG               0x00000020
+#define CMSG_CMS_ENCAPSULATED_CONTENT_FLAG 0x00000040
+#define CMSG_CRYPT_RELEASE_CONTEXT_FLAG    0x00008000
 
 #define CMSG_CTRL_VERIFY_SIGNATURE       1
 #define CMSG_CTRL_DECRYPT                2
@@ -3189,6 +3191,16 @@ #define CMSG_ENCRYPT_PARAM              
 #define CMSG_ENCRYPTED_DIGEST            27
 #define CMSG_ENCODED_SIGNER              28
 #define CMSG_ENCODED_MESSAGE             29
+#define CMSG_VERSION_PARAM               30
+#define CMSG_ATTR_CERT_COUNT_PARAM       31
+#define CMSG_ATTR_CERT_PARAM             32
+#define CMSG_CMS_RECIPIENT_COUNT_PARAM   33
+#define CMSG_CMS_RECIPIENT_INDEX_PARAM   34
+#define CMSG_CMS_RECIPIENT_ENCRYPTED_KEY_INDEX_PARAM 35
+#define CMSG_CMS_RECIPIENT_INFO_PARAM    36
+#define CMSG_UNPROTECTED_ATTR_PARAM      37
+#define CMSG_SIGNER_CERT_ID_PARAM        38
+#define CMSG_CMS_SIGNER_INFO_PARAM       39
 
 /* function declarations */
 /* advapi32.dll */
-- 
1.4.1



More information about the wine-patches mailing list