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
164520f5
Commit
164520f5
authored
Feb 16, 2024
by
Paul Gofman
Committed by
Alexandre Julliard
Feb 20, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
crypt32: Force debug info in critical sections.
parent
9149c7e9
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
5 deletions
+5
-5
collectionstore.c
dlls/crypt32/collectionstore.c
+1
-1
oid.c
dlls/crypt32/oid.c
+1
-1
proplist.c
dlls/crypt32/proplist.c
+1
-1
regstore.c
dlls/crypt32/regstore.c
+1
-1
store.c
dlls/crypt32/store.c
+1
-1
No files found.
dlls/crypt32/collectionstore.c
View file @
164520f5
...
@@ -478,7 +478,7 @@ WINECRYPT_CERTSTORE *CRYPT_CollectionOpenStore(HCRYPTPROV hCryptProv,
...
@@ -478,7 +478,7 @@ WINECRYPT_CERTSTORE *CRYPT_CollectionOpenStore(HCRYPTPROV hCryptProv,
{
{
memset
(
store
,
0
,
sizeof
(
WINE_COLLECTIONSTORE
));
memset
(
store
,
0
,
sizeof
(
WINE_COLLECTIONSTORE
));
CRYPT_InitStore
(
&
store
->
hdr
,
dwFlags
,
StoreTypeCollection
,
&
CollectionStoreVtbl
);
CRYPT_InitStore
(
&
store
->
hdr
,
dwFlags
,
StoreTypeCollection
,
&
CollectionStoreVtbl
);
InitializeCriticalSection
(
&
store
->
cs
);
InitializeCriticalSection
Ex
(
&
store
->
cs
,
0
,
RTL_CRITICAL_SECTION_FLAG_FORCE_DEBUG_INFO
);
store
->
cs
.
DebugInfo
->
Spare
[
0
]
=
(
DWORD_PTR
)(
__FILE__
": PWINE_COLLECTIONSTORE->cs"
);
store
->
cs
.
DebugInfo
->
Spare
[
0
]
=
(
DWORD_PTR
)(
__FILE__
": PWINE_COLLECTIONSTORE->cs"
);
list_init
(
&
store
->
stores
);
list_init
(
&
store
->
stores
);
}
}
...
...
dlls/crypt32/oid.c
View file @
164520f5
...
@@ -125,7 +125,7 @@ HCRYPTOIDFUNCSET WINAPI CryptInitOIDFunctionSet(LPCSTR pszFuncName,
...
@@ -125,7 +125,7 @@ HCRYPTOIDFUNCSET WINAPI CryptInitOIDFunctionSet(LPCSTR pszFuncName,
ret
->
name
=
CryptMemAlloc
(
strlen
(
pszFuncName
)
+
1
);
ret
->
name
=
CryptMemAlloc
(
strlen
(
pszFuncName
)
+
1
);
if
(
ret
->
name
)
if
(
ret
->
name
)
{
{
InitializeCriticalSection
(
&
ret
->
cs
);
InitializeCriticalSection
Ex
(
&
ret
->
cs
,
0
,
RTL_CRITICAL_SECTION_FLAG_FORCE_DEBUG_INFO
);
ret
->
cs
.
DebugInfo
->
Spare
[
0
]
=
(
DWORD_PTR
)(
__FILE__
": OIDFunctionSet.cs"
);
ret
->
cs
.
DebugInfo
->
Spare
[
0
]
=
(
DWORD_PTR
)(
__FILE__
": OIDFunctionSet.cs"
);
list_init
(
&
ret
->
functions
);
list_init
(
&
ret
->
functions
);
strcpy
(
ret
->
name
,
pszFuncName
);
strcpy
(
ret
->
name
,
pszFuncName
);
...
...
dlls/crypt32/proplist.c
View file @
164520f5
...
@@ -46,7 +46,7 @@ CONTEXT_PROPERTY_LIST *ContextPropertyList_Create(void)
...
@@ -46,7 +46,7 @@ CONTEXT_PROPERTY_LIST *ContextPropertyList_Create(void)
if
(
list
)
if
(
list
)
{
{
InitializeCriticalSection
(
&
list
->
cs
);
InitializeCriticalSection
Ex
(
&
list
->
cs
,
0
,
RTL_CRITICAL_SECTION_FLAG_FORCE_DEBUG_INFO
);
list
->
cs
.
DebugInfo
->
Spare
[
0
]
=
(
DWORD_PTR
)(
__FILE__
": PCONTEXT_PROPERTY_LIST->cs"
);
list
->
cs
.
DebugInfo
->
Spare
[
0
]
=
(
DWORD_PTR
)(
__FILE__
": PCONTEXT_PROPERTY_LIST->cs"
);
list_init
(
&
list
->
properties
);
list_init
(
&
list
->
properties
);
}
}
...
...
dlls/crypt32/regstore.c
View file @
164520f5
...
@@ -545,7 +545,7 @@ WINECRYPT_CERTSTORE *CRYPT_RegOpenStore(HCRYPTPROV hCryptProv, DWORD dwFlags,
...
@@ -545,7 +545,7 @@ WINECRYPT_CERTSTORE *CRYPT_RegOpenStore(HCRYPTPROV hCryptProv, DWORD dwFlags,
regInfo
->
dwOpenFlags
=
dwFlags
;
regInfo
->
dwOpenFlags
=
dwFlags
;
regInfo
->
memStore
=
memStore
;
regInfo
->
memStore
=
memStore
;
regInfo
->
key
=
key
;
regInfo
->
key
=
key
;
InitializeCriticalSection
(
&
regInfo
->
cs
);
InitializeCriticalSection
Ex
(
&
regInfo
->
cs
,
0
,
RTL_CRITICAL_SECTION_FLAG_FORCE_DEBUG_INFO
);
regInfo
->
cs
.
DebugInfo
->
Spare
[
0
]
=
(
DWORD_PTR
)(
__FILE__
": PWINE_REGSTOREINFO->cs"
);
regInfo
->
cs
.
DebugInfo
->
Spare
[
0
]
=
(
DWORD_PTR
)(
__FILE__
": PWINE_REGSTOREINFO->cs"
);
list_init
(
&
regInfo
->
certsToDelete
);
list_init
(
&
regInfo
->
certsToDelete
);
list_init
(
&
regInfo
->
crlsToDelete
);
list_init
(
&
regInfo
->
crlsToDelete
);
...
...
dlls/crypt32/store.c
View file @
164520f5
...
@@ -388,7 +388,7 @@ static WINECRYPT_CERTSTORE *CRYPT_MemOpenStore(HCRYPTPROV hCryptProv,
...
@@ -388,7 +388,7 @@ static WINECRYPT_CERTSTORE *CRYPT_MemOpenStore(HCRYPTPROV hCryptProv,
{
{
memset
(
store
,
0
,
sizeof
(
WINE_MEMSTORE
));
memset
(
store
,
0
,
sizeof
(
WINE_MEMSTORE
));
CRYPT_InitStore
(
&
store
->
hdr
,
dwFlags
,
StoreTypeMem
,
&
MemStoreVtbl
);
CRYPT_InitStore
(
&
store
->
hdr
,
dwFlags
,
StoreTypeMem
,
&
MemStoreVtbl
);
InitializeCriticalSection
(
&
store
->
cs
);
InitializeCriticalSection
Ex
(
&
store
->
cs
,
0
,
RTL_CRITICAL_SECTION_FLAG_FORCE_DEBUG_INFO
);
store
->
cs
.
DebugInfo
->
Spare
[
0
]
=
(
DWORD_PTR
)(
__FILE__
": ContextList.cs"
);
store
->
cs
.
DebugInfo
->
Spare
[
0
]
=
(
DWORD_PTR
)(
__FILE__
": ContextList.cs"
);
list_init
(
&
store
->
certs
);
list_init
(
&
store
->
certs
);
list_init
(
&
store
->
crls
);
list_init
(
&
store
->
crls
);
...
...
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