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
038ede61
Commit
038ede61
authored
Oct 08, 2006
by
Paul Vriens
Committed by
Alexandre Julliard
Oct 09, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rsaenh: Make hmac test run on all windows versions.
parent
feb7990b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
rsaenh.c
dlls/rsaenh/tests/rsaenh.c
+4
-3
No files found.
dlls/rsaenh/tests/rsaenh.c
View file @
038ede61
...
...
@@ -626,12 +626,13 @@ static void test_hmac(void) {
HCRYPTKEY
hKey
;
HCRYPTHASH
hHash
;
BOOL
result
;
HMAC_INFO
hmacInfo
=
{
CALG_MD2
,
NULL
,
0
,
NULL
,
0
};
/* Using CALG_MD2 here fails on Windows 2003, why ? */
HMAC_INFO
hmacInfo
=
{
CALG_MD5
,
NULL
,
0
,
NULL
,
0
};
DWORD
dwLen
;
BYTE
abData
[
256
];
static
const
BYTE
hmac
[
16
]
=
{
0x
fd
,
0x16
,
0xb5
,
0xb6
,
0x13
,
0x1c
,
0x2b
,
0xd6
,
0x
0a
,
0xc7
,
0xae
,
0x92
,
0x76
,
0xa3
,
0x05
,
0x71
};
0x
1a
,
0x7d
,
0x49
,
0xc5
,
0x9b
,
0x2d
,
0x0b
,
0x9c
,
0x
cf
,
0x10
,
0x6b
,
0xb6
,
0x7d
,
0x0f
,
0x13
,
0x32
};
int
i
;
for
(
i
=
0
;
i
<
sizeof
(
abData
)
/
sizeof
(
BYTE
);
i
++
)
abData
[
i
]
=
(
BYTE
)
i
;
...
...
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