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
2a233ce2
Commit
2a233ce2
authored
Feb 15, 2022
by
Eric Pouech
Committed by
Alexandre Julliard
Feb 15, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msasn1: Enable compilation with long types.
Signed-off-by:
Eric Pouech
<
eric.pouech@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
2424f03a
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
+4
-5
Makefile.in
dlls/msasn1/Makefile.in
+0
-1
main.c
dlls/msasn1/main.c
+4
-4
No files found.
dlls/msasn1/Makefile.in
View file @
2a233ce2
EXTRADEFS
=
-DWINE_NO_LONG_TYPES
MODULE
=
msasn1.dll
IMPORTLIB
=
msasn1
...
...
dlls/msasn1/main.c
View file @
2a233ce2
...
...
@@ -36,7 +36,7 @@ ASN1module_t WINAPI ASN1_CreateModule(ASN1uint32_t ver, ASN1encodingrule_e rule,
{
ASN1module_t
module
=
NULL
;
TRACE
(
"(%08
x %08x %08x %u %p %p %p %p %
u)
\n
"
,
ver
,
rule
,
flags
,
pdu
,
encoder
,
decoder
,
freemem
,
size
,
magic
);
TRACE
(
"(%08
lx %08x %08lx %lu %p %p %p %p %l
u)
\n
"
,
ver
,
rule
,
flags
,
pdu
,
encoder
,
decoder
,
freemem
,
size
,
magic
);
if
(
!
encoder
||
!
decoder
||
!
freemem
||
!
size
)
return
module
;
...
...
@@ -83,7 +83,7 @@ ASN1error_e WINAPI ASN1_CreateEncoder(ASN1module_t module, ASN1encoding_t *encod
{
ASN1encoding_t
enc
;
TRACE
(
"(%p %p %p %u %p)
\n
"
,
module
,
encoder
,
buf
,
bufsize
,
parent
);
TRACE
(
"(%p %p %p %
l
u %p)
\n
"
,
module
,
encoder
,
buf
,
bufsize
,
parent
);
if
(
!
module
||
!
encoder
)
return
ASN1_ERR_BADARGS
;
...
...
@@ -133,7 +133,7 @@ ASN1error_e WINAPI ASN1_CreateDecoder(ASN1module_t module, ASN1decoding_t *decod
{
ASN1decoding_t
dec
;
TRACE
(
"(%p %p %p %u %p)
\n
"
,
module
,
decoder
,
buf
,
bufsize
,
parent
);
TRACE
(
"(%p %p %p %
l
u %p)
\n
"
,
module
,
decoder
,
buf
,
bufsize
,
parent
);
if
(
!
module
||
!
decoder
)
return
ASN1_ERR_BADARGS
;
...
...
@@ -179,7 +179,7 @@ void WINAPI ASN1_CloseDecoder(ASN1decoding_t decoder)
ASN1error_e
WINAPI
ASN1_Decode
(
ASN1decoding_t
decoder
,
void
**
outdata
,
ASN1uint32_t
pdunum
,
ASN1uint32_t
flags
,
ASN1octet_t
*
buf
,
ASN1uint32_t
bufsize
)
{
FIXME
(
"(%p %p %
u %08x %p %
u): Stub!
\n
"
,
decoder
,
outdata
,
pdunum
,
flags
,
buf
,
bufsize
);
FIXME
(
"(%p %p %
lu %08lx %p %l
u): Stub!
\n
"
,
decoder
,
outdata
,
pdunum
,
flags
,
buf
,
bufsize
);
if
(
!
decoder
)
return
ASN1_ERR_BADARGS
;
...
...
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