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
da53cfc8
Commit
da53cfc8
authored
May 18, 2012
by
Juan Lang
Committed by
Alexandre Julliard
May 31, 2012
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
crypt32: Fail earlier if CryptExportPublicKeyInfo fails.
parent
6ccdbab6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
cert.c
dlls/crypt32/cert.c
+4
-1
No files found.
dlls/crypt32/cert.c
View file @
da53cfc8
...
...
@@ -3202,8 +3202,10 @@ PCCERT_CONTEXT WINAPI CertCreateSelfSignCertificate(HCRYPTPROV_OR_NCRYPT_KEY_HAN
}
}
CryptExportPublicKeyInfo
(
hProv
,
dwKeySpec
,
X509_ASN_ENCODING
,
NULL
,
ret
=
CryptExportPublicKeyInfo
(
hProv
,
dwKeySpec
,
X509_ASN_ENCODING
,
NULL
,
&
pubKeySize
);
if
(
!
ret
)
goto
end
;
pubKey
=
CryptMemAlloc
(
pubKeySize
);
if
(
pubKey
)
{
...
...
@@ -3237,6 +3239,7 @@ PCCERT_CONTEXT WINAPI CertCreateSelfSignCertificate(HCRYPTPROV_OR_NCRYPT_KEY_HAN
}
CryptMemFree
(
pubKey
);
}
end:
if
(
releaseContext
)
CryptReleaseContext
(
hProv
,
0
);
return
context
;
...
...
Vitaly Lipatov
@lav
mentioned in commit
90813bb8
·
Sep 03, 2020
mentioned in commit
90813bb8
mentioned in commit 90813bb84c983914eab89a1cda1d72604fb8d25a
Toggle commit list
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