Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
869b6f77
Commit
869b6f77
authored
Sep 08, 2006
by
Paul Vriens
Committed by
Alexandre Julliard
Sep 10, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
crypt32: Fix the adding of pwszIsFunctionName and pwszIsFunctionNameFmt2.
parent
ded7d0bc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
9 deletions
+8
-9
main.c
dlls/crypt32/main.c
+5
-3
main.c
dlls/crypt32/tests/main.c
+3
-6
No files found.
dlls/crypt32/main.c
View file @
869b6f77
...
...
@@ -285,11 +285,12 @@ BOOL WINAPI CryptSIPAddProvider(SIP_ADD_NEWPROVIDER *psNewProv)
return
FALSE
;
}
TRACE
(
"%s %s %s %s
\n
"
,
TRACE
(
"%s %s %s %s
%s
\n
"
,
debugstr_guid
(
psNewProv
->
pgSubject
),
debugstr_w
(
psNewProv
->
pwszDLLFileName
),
debugstr_w
(
psNewProv
->
pwszMagicNumber
),
debugstr_w
(
psNewProv
->
pwszIsFunctionName
)
);
debugstr_w
(
psNewProv
->
pwszIsFunctionName
),
debugstr_w
(
psNewProv
->
pwszIsFunctionNameFmt2
)
);
#define CRYPT_SIPADDPROV( key, field ) \
r = CRYPT_SIPWriteFunction( psNewProv->pgSubject, key, \
...
...
@@ -301,7 +302,8 @@ BOOL WINAPI CryptSIPAddProvider(SIP_ADD_NEWPROVIDER *psNewProv)
CRYPT_SIPADDPROV
(
szRemoveSigned
,
pwszRemoveFuncName
);
CRYPT_SIPADDPROV
(
szCreate
,
pwszCreateFuncName
);
CRYPT_SIPADDPROV
(
szVerify
,
pwszVerifyFuncName
);
CRYPT_SIPADDPROV
(
szIsMyFile
,
pwszIsFunctionNameFmt2
);
CRYPT_SIPADDPROV
(
szIsMyFile
,
pwszIsFunctionName
);
CRYPT_SIPADDPROV
(
szIsMyFile2
,
pwszIsFunctionNameFmt2
);
#undef CRYPT_SIPADDPROV
...
...
dlls/crypt32/tests/main.c
View file @
869b6f77
...
...
@@ -415,12 +415,9 @@ static void test_AddRemoveProvider(void)
/* Dummy provider should be deleted */
SetLastError
(
0xdeadbeef
);
ret
=
CryptSIPRemoveProvider
(
&
actionid
);
todo_wine
{
ok
(
ret
,
"CryptSIPRemoveProvider should have succeeded
\n
"
);
ok
(
GetLastError
()
==
0xdeadbeef
,
"Expected 0xdeadbeef, got %ld
\n
"
,
GetLastError
());
}
ok
(
ret
,
"CryptSIPRemoveProvider should have succeeded
\n
"
);
ok
(
GetLastError
()
==
0xdeadbeef
,
"Expected 0xdeadbeef, got %ld
\n
"
,
GetLastError
());
}
START_TEST
(
main
)
...
...
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