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
d17b7306
Commit
d17b7306
authored
Feb 05, 2006
by
Juan Lang
Committed by
Alexandre Julliard
Feb 05, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
crypt32: Fix Mingw compile.
parent
d68f7a68
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
2 deletions
+12
-2
str.c
dlls/crypt32/tests/str.c
+12
-2
No files found.
dlls/crypt32/tests/str.c
View file @
d17b7306
...
...
@@ -25,7 +25,11 @@
#include <wincrypt.h>
#include "wine/test.h"
/*#define DUMP_STRINGS*/
#ifdef DUMP_STRINGS
#include "wine/debug.h"
#endif
typedef
struct
_CertRDNAttrEncoding
{
LPCSTR
pszObjId
;
...
...
@@ -278,8 +282,11 @@ static void test_CertRDNValueToStrW(void)
buffer
,
sizeof
(
buffer
)
/
sizeof
(
buffer
[
0
]));
ok
(
ret
==
lstrlenW
(
attrs
[
i
].
str
)
+
1
,
"Expected length %d, got %ld
\n
"
,
lstrlenW
(
attrs
[
i
].
str
)
+
1
,
ret
);
ok
(
!
lstrcmpW
(
buffer
,
attrs
[
i
].
str
),
"Expected %s, got %s
\n
"
,
ok
(
!
lstrcmpW
(
buffer
,
attrs
[
i
].
str
),
"Unexpected value
\n
"
);
#ifdef DUMP_STRINGS
trace
(
"Expected %s, got %s
\n
"
,
wine_dbgstr_w
(
attrs
[
i
].
str
),
wine_dbgstr_w
(
buffer
));
#endif
}
}
...
...
@@ -357,8 +364,11 @@ static void test_NameToStrConversionW(PCERT_NAME_BLOB pName, DWORD dwStrType,
sizeof
(
buffer
)
/
sizeof
(
buffer
[
0
]));
ok
(
i
==
lstrlenW
(
expected
)
+
1
,
"Expected %d chars, got %ld
\n
"
,
lstrlenW
(
expected
)
+
1
,
i
);
ok
(
!
lstrcmpW
(
buffer
,
expected
),
"Expected %s, got %s
\n
"
,
ok
(
!
lstrcmpW
(
buffer
,
expected
),
"Unexpected value
\n
"
);
#ifdef DUMP_STRINGS
trace
(
"Expected %s, got %s
\n
"
,
wine_dbgstr_w
(
expected
),
wine_dbgstr_w
(
buffer
));
#endif
}
static
void
test_CertNameToStrW
(
void
)
...
...
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