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
c109e2a3
Commit
c109e2a3
authored
Feb 27, 2006
by
Juan Lang
Committed by
Alexandre Julliard
Feb 28, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
crypt32: Correct compile problem on gcc 2.95.
parent
b97c880c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
oid.c
dlls/crypt32/oid.c
+6
-5
No files found.
dlls/crypt32/oid.c
View file @
c109e2a3
...
...
@@ -18,6 +18,7 @@
*/
#include <stdio.h>
#include <stdarg.h>
#define NONAMELESSUNION
#include "windef.h"
#include "winbase.h"
#include "wincrypt.h"
...
...
@@ -937,7 +938,7 @@ static void init_oid_info(HINSTANCE hinst)
info
->
info
.
pszOID
=
oidInfoConstructors
[
i
].
pszOID
;
info
->
info
.
pwszName
=
oidInfoConstructors
[
i
].
pwszName
;
info
->
info
.
dwGroupId
=
oidInfoConstructors
[
i
].
dwGroupId
;
info
->
info
.
Algid
=
oidInfoConstructors
[
i
].
Algid
;
info
->
info
.
u
.
Algid
=
oidInfoConstructors
[
i
].
Algid
;
if
(
oidInfoConstructors
[
i
].
blob
)
{
info
->
info
.
ExtraInfo
.
cbData
=
...
...
@@ -966,7 +967,7 @@ static void init_oid_info(HINSTANCE hinst)
info
->
info
.
pwszName
=
(
LPWSTR
)((
LPBYTE
)
info
+
sizeof
(
struct
OIDInfo
));
info
->
info
.
dwGroupId
=
oidInfoConstructors
[
i
].
dwGroupId
;
info
->
info
.
Algid
=
oidInfoConstructors
[
i
].
Algid
;
info
->
info
.
u
.
Algid
=
oidInfoConstructors
[
i
].
Algid
;
LoadStringW
(
hinst
,
(
UINT
)
oidInfoConstructors
[
i
].
pwszName
,
(
LPWSTR
)
info
->
info
.
pwszName
,
len
+
1
);
if
(
oidInfoConstructors
[
i
].
blob
)
...
...
@@ -1034,7 +1035,7 @@ PCCRYPT_OID_INFO WINAPI CryptFindOIDInfo(DWORD dwKeyType, void *pvKey,
EnterCriticalSection
(
&
oidInfoCS
);
LIST_FOR_EACH_ENTRY
(
info
,
&
oidInfo
,
struct
OIDInfo
,
entry
)
{
if
(
info
->
info
.
Algid
==
*
(
DWORD
*
)
pvKey
&&
if
(
info
->
info
.
u
.
Algid
==
*
(
DWORD
*
)
pvKey
&&
(
!
dwGroupId
||
info
->
info
.
dwGroupId
==
dwGroupId
))
{
ret
=
&
info
->
info
;
...
...
@@ -1086,7 +1087,7 @@ PCCRYPT_OID_INFO WINAPI CryptFindOIDInfo(DWORD dwKeyType, void *pvKey,
EnterCriticalSection
(
&
oidInfoCS
);
LIST_FOR_EACH_ENTRY
(
info
,
&
oidInfo
,
struct
OIDInfo
,
entry
)
{
if
(
info
->
info
.
Algid
==
*
(
DWORD
*
)
pvKey
&&
if
(
info
->
info
.
u
.
Algid
==
*
(
DWORD
*
)
pvKey
&&
info
->
info
.
ExtraInfo
.
cbData
>=
sizeof
(
DWORD
)
&&
*
(
DWORD
*
)
info
->
info
.
ExtraInfo
.
pbData
==
*
(
DWORD
*
)((
LPBYTE
)
pvKey
+
sizeof
(
DWORD
))
&&
...
...
@@ -1123,7 +1124,7 @@ DWORD WINAPI CertOIDToAlgId(LPCSTR pszObjId)
(
void
*
)
pszObjId
,
0
);
if
(
info
)
ret
=
info
->
Algid
;
ret
=
info
->
u
.
Algid
;
else
ret
=
0
;
return
ret
;
...
...
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