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
9d9ae93a
Commit
9d9ae93a
authored
Oct 21, 2009
by
Juan Lang
Committed by
Alexandre Julliard
Oct 22, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rsaenh: Revert part of
d3c48225
.
parent
a48aae26
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
crypt.c
dlls/advapi32/tests/crypt.c
+0
-1
rsaenh.c
dlls/rsaenh/rsaenh.c
+2
-2
No files found.
dlls/advapi32/tests/crypt.c
View file @
9d9ae93a
...
...
@@ -988,7 +988,6 @@ static void test_rc2_keylen(void)
ret
=
pCryptImportKey
(
provider
,
(
BYTE
*
)
&
key_blob
,
sizeof
(
BLOBHEADER
)
+
sizeof
(
DWORD
)
+
key_blob
.
key_size
,
0
,
0
,
&
hkey
);
todo_wine
ok
(
!
ret
&&
GetLastError
()
==
NTE_BAD_DATA
,
"expected NTE_BAD_DATA, got %08x
\n
"
,
GetLastError
());
/* but importing an 8-bit (7-byte) key does.. */
...
...
dlls/rsaenh/rsaenh.c
View file @
9d9ae93a
...
...
@@ -159,7 +159,7 @@ typedef struct tagKEYCONTAINER
static
const
PROV_ENUMALGS_EX
aProvEnumAlgsEx
[
5
][
RSAENH_MAX_ENUMALGS
+
1
]
=
{
{
{
CALG_RC2
,
40
,
5
,
128
,
0
,
4
,
"RC2"
,
24
,
"RSA Data Security's RC2"
},
{
CALG_RC2
,
40
,
40
,
56
,
0
,
4
,
"RC2"
,
24
,
"RSA Data Security's RC2"
},
{
CALG_RC4
,
40
,
40
,
56
,
0
,
4
,
"RC4"
,
24
,
"RSA Data Security's RC4"
},
{
CALG_DES
,
56
,
56
,
56
,
0
,
4
,
"DES"
,
31
,
"Data Encryption Standard (DES)"
},
{
CALG_SHA
,
160
,
160
,
160
,
CRYPT_FLAG_SIGNING
,
6
,
"SHA-1"
,
30
,
"Secure Hash Algorithm (SHA-1)"
},
...
...
@@ -826,7 +826,7 @@ static HCRYPTKEY new_key(HCRYPTPROV hProv, ALG_ID aiAlgid, DWORD dwFlags, CRYPTK
{
TRACE
(
"key len %d out of bounds (%d, %d)
\n
"
,
dwKeyLen
,
peaAlgidInfo
->
dwMinLen
,
peaAlgidInfo
->
dwMaxLen
);
SetLastError
(
NTE_BAD_
FLAGS
);
SetLastError
(
NTE_BAD_
DATA
);
return
(
HCRYPTKEY
)
INVALID_HANDLE_VALUE
;
}
}
...
...
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