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
5c8978c5
Commit
5c8978c5
authored
Dec 31, 2008
by
Andrew Talbot
Committed by
Alexandre Julliard
Jan 02, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
advapi32: Remove unused function.
parent
3b64f895
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
28 deletions
+0
-28
crypt.h
dlls/advapi32/crypt.h
+0
-1
crypt_des.c
dlls/advapi32/crypt_des.c
+0
-27
No files found.
dlls/advapi32/crypt.h
View file @
5c8978c5
...
...
@@ -82,7 +82,6 @@ typedef struct tagCRYPTHASH
#define MAXPROVTYPES 999
extern
unsigned
char
*
CRYPT_DESkey8to7
(
unsigned
char
*
dst
,
const
unsigned
char
*
key
);
extern
unsigned
char
*
CRYPT_DEShash
(
unsigned
char
*
dst
,
const
unsigned
char
*
key
,
const
unsigned
char
*
src
);
extern
unsigned
char
*
CRYPT_DESunhash
(
unsigned
char
*
dst
,
const
unsigned
char
*
key
,
...
...
dlls/advapi32/crypt_des.c
View file @
5c8978c5
...
...
@@ -252,33 +252,6 @@ static void xor( unsigned char *dst, const unsigned char *a, const unsigned char
dst
[
i
]
=
a
[
i
]
^
b
[
i
];
}
unsigned
char
*
CRYPT_DESkey8to7
(
unsigned
char
*
dst
,
const
unsigned
char
*
key
)
{
int
i
;
unsigned
char
tmp
[
7
];
static
const
unsigned
char
map8to7
[
56
]
=
{
0
,
1
,
2
,
3
,
4
,
5
,
6
,
8
,
9
,
10
,
11
,
12
,
13
,
14
,
16
,
17
,
18
,
19
,
20
,
21
,
22
,
24
,
25
,
26
,
27
,
28
,
29
,
30
,
32
,
33
,
34
,
35
,
36
,
37
,
38
,
40
,
41
,
42
,
43
,
44
,
45
,
46
,
48
,
49
,
50
,
51
,
52
,
53
,
54
,
56
,
57
,
58
,
59
,
60
,
61
,
62
};
if
((
dst
==
NULL
)
||
(
key
==
NULL
))
return
NULL
;
Permute
(
tmp
,
key
,
map8to7
,
7
);
for
(
i
=
0
;
i
<
7
;
i
++
)
dst
[
i
]
=
tmp
[
i
];
return
dst
;
}
unsigned
char
*
CRYPT_DEShash
(
unsigned
char
*
dst
,
const
unsigned
char
*
key
,
const
unsigned
char
*
src
)
{
int
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