Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
32970800
Commit
32970800
authored
Aug 14, 2008
by
Juan Lang
Committed by
Alexandre Julliard
Aug 20, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
crypt32: Allow messages to be opened when compiled with…
crypt32: Allow messages to be opened when compiled with CMSG_SIGNED_ENCODE_INFO_HAS_CMS_FIELDS if CMS fields aren't actually used.
parent
427b3fbd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
msg.c
dlls/crypt32/msg.c
+2
-1
msg.c
dlls/crypt32/tests/msg.c
+1
-0
No files found.
dlls/crypt32/msg.c
View file @
32970800
...
@@ -1259,7 +1259,8 @@ static HCRYPTMSG CSignedEncodeMsg_Open(DWORD dwFlags,
...
@@ -1259,7 +1259,8 @@ static HCRYPTMSG CSignedEncodeMsg_Open(DWORD dwFlags,
SetLastError
(
E_INVALIDARG
);
SetLastError
(
E_INVALIDARG
);
return
NULL
;
return
NULL
;
}
}
if
(
info
->
cbSize
==
sizeof
(
CMSG_SIGNED_ENCODE_INFO_WITH_CMS
))
if
(
info
->
cbSize
==
sizeof
(
CMSG_SIGNED_ENCODE_INFO_WITH_CMS
)
&&
info
->
rgAttrCertEncoded
)
{
{
FIXME
(
"CMSG_SIGNED_ENCODE_INFO with CMS fields unsupported
\n
"
);
FIXME
(
"CMSG_SIGNED_ENCODE_INFO with CMS fields unsupported
\n
"
);
return
NULL
;
return
NULL
;
...
...
dlls/crypt32/tests/msg.c
View file @
32970800
...
@@ -24,6 +24,7 @@
...
@@ -24,6 +24,7 @@
#include <winbase.h>
#include <winbase.h>
#include <winerror.h>
#include <winerror.h>
#define CMSG_SIGNER_ENCODE_INFO_HAS_CMS_FIELDS
#define CMSG_SIGNER_ENCODE_INFO_HAS_CMS_FIELDS
#define CMSG_SIGNED_ENCODE_INFO_HAS_CMS_FIELDS
#include <wincrypt.h>
#include <wincrypt.h>
#include "wine/test.h"
#include "wine/test.h"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment