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
0cb61484
Commit
0cb61484
authored
Aug 02, 2007
by
Juan Lang
Committed by
Alexandre Julliard
Aug 03, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
crypt32: Get rid of bogus check and improve traces for unexpected alt name entry types.
parent
e7a1e99a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
6 deletions
+3
-6
decode.c
dlls/crypt32/decode.c
+3
-6
No files found.
dlls/crypt32/decode.c
View file @
0cb61484
...
...
@@ -2111,11 +2111,6 @@ static BOOL WINAPI CRYPT_AsnDecodeAltNameEntry(DWORD dwCertEncodingType,
SetLastError
(
CRYPT_E_ASN1_CORRUPT
);
return
FALSE
;
}
if
((
pbEncoded
[
0
]
&
ASN_FLAGS_MASK
)
!=
ASN_CONTEXT
)
{
SetLastError
(
CRYPT_E_ASN1_BADTAG
);
return
FALSE
;
}
lenBytes
=
GET_LEN_BYTES
(
pbEncoded
[
1
]);
if
(
1
+
lenBytes
>
cbEncoded
)
{
...
...
@@ -2138,16 +2133,18 @@ static BOOL WINAPI CRYPT_AsnDecodeAltNameEntry(DWORD dwCertEncodingType,
/* FIXME: decode as OID */
case
0
:
/* otherName */
case
4
:
/* directoryName */
FIXME
(
"
stub
\n
"
);
FIXME
(
"
%d: stub
\n
"
,
pbEncoded
[
0
]
&
ASN_TYPE_MASK
);
SetLastError
(
CRYPT_E_ASN1_BADTAG
);
ret
=
FALSE
;
break
;
case
3
:
/* x400Address, unimplemented */
case
5
:
/* ediPartyName, unimplemented */
TRACE
(
"type %d unimplemented
\n
"
,
pbEncoded
[
0
]
&
ASN_TYPE_MASK
);
SetLastError
(
CRYPT_E_ASN1_BADTAG
);
ret
=
FALSE
;
break
;
default:
TRACE
(
"type %d bad
\n
"
,
pbEncoded
[
0
]
&
ASN_TYPE_MASK
);
SetLastError
(
CRYPT_E_ASN1_CORRUPT
);
ret
=
FALSE
;
}
...
...
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