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
a170f762
Commit
a170f762
authored
Mar 03, 2007
by
Andrew Talbot
Committed by
Alexandre Julliard
Mar 05, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
advapi32: Replace const pointer parameters with correct pointers to const.
parent
201317ed
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
14 deletions
+14
-14
crypt_lmhash.c
dlls/advapi32/crypt_lmhash.c
+9
-9
crypt_lmhash.c
dlls/advapi32/tests/crypt_lmhash.c
+5
-5
No files found.
dlls/advapi32/crypt_lmhash.c
View file @
a170f762
...
...
@@ -73,7 +73,7 @@ NTSTATUS WINAPI SystemFunction006( LPCSTR password, LPSTR hash )
* see http://davenport.sourceforge.net/ntlm.html#theLmResponse
*
*/
NTSTATUS
WINAPI
SystemFunction008
(
const
LPBYTE
challenge
,
const
LPBYTE
hash
,
LPBYTE
response
)
NTSTATUS
WINAPI
SystemFunction008
(
const
BYTE
*
challenge
,
const
BYTE
*
hash
,
LPBYTE
response
)
{
BYTE
key
[
7
*
3
];
...
...
@@ -95,7 +95,7 @@ NTSTATUS WINAPI SystemFunction008(const LPBYTE challenge, const LPBYTE hash, LPB
*
* Seems to do the same as SystemFunction008 ...
*/
NTSTATUS
WINAPI
SystemFunction009
(
const
LPBYTE
challenge
,
const
LPBYTE
hash
,
LPBYTE
response
)
NTSTATUS
WINAPI
SystemFunction009
(
const
BYTE
*
challenge
,
const
BYTE
*
hash
,
LPBYTE
response
)
{
return
SystemFunction008
(
challenge
,
hash
,
response
);
}
...
...
@@ -115,7 +115,7 @@ NTSTATUS WINAPI SystemFunction009(const LPBYTE challenge, const LPBYTE hash, LPB
* Failure: STATUS_UNSUCCESSFUL
*
*/
NTSTATUS
WINAPI
SystemFunction001
(
const
LPBYTE
data
,
const
LPBYTE
key
,
LPBYTE
output
)
NTSTATUS
WINAPI
SystemFunction001
(
const
BYTE
*
data
,
const
BYTE
*
key
,
LPBYTE
output
)
{
if
(
!
data
||
!
output
)
return
STATUS_UNSUCCESSFUL
;
...
...
@@ -138,7 +138,7 @@ NTSTATUS WINAPI SystemFunction001(const LPBYTE data, const LPBYTE key, LPBYTE ou
* Failure: STATUS_UNSUCCESSFUL
*
*/
NTSTATUS
WINAPI
SystemFunction002
(
const
LPBYTE
data
,
const
LPBYTE
key
,
LPBYTE
output
)
NTSTATUS
WINAPI
SystemFunction002
(
const
BYTE
*
data
,
const
BYTE
*
key
,
LPBYTE
output
)
{
if
(
!
data
||
!
output
)
return
STATUS_UNSUCCESSFUL
;
...
...
@@ -160,7 +160,7 @@ NTSTATUS WINAPI SystemFunction002(const LPBYTE data, const LPBYTE key, LPBYTE ou
* Failure: STATUS_UNSUCCESSFUL
*
*/
NTSTATUS
WINAPI
SystemFunction003
(
const
LPBYTE
key
,
LPBYTE
output
)
NTSTATUS
WINAPI
SystemFunction003
(
const
BYTE
*
key
,
LPBYTE
output
)
{
if
(
!
output
)
return
STATUS_UNSUCCESSFUL
;
...
...
@@ -310,7 +310,7 @@ NTSTATUS WINAPI SystemFunction005(const struct ustring *in,
* Success: STATUS_SUCCESS
* Failure: STATUS_UNSUCCESSFUL if the input or output buffer is NULL
*/
NTSTATUS
WINAPI
SystemFunction012
(
const
LPBYTE
in
,
const
LPBYTE
key
,
LPBYTE
out
)
NTSTATUS
WINAPI
SystemFunction012
(
const
BYTE
*
in
,
const
BYTE
*
key
,
LPBYTE
out
)
{
if
(
!
in
||
!
out
)
return
STATUS_UNSUCCESSFUL
;
...
...
@@ -339,7 +339,7 @@ NTSTATUS WINAPI SystemFunction012(const LPBYTE in, const LPBYTE key, LPBYTE out)
* Success: STATUS_SUCCESS
* Failure: STATUS_UNSUCCESSFUL if the input or output buffer is NULL
*/
NTSTATUS
WINAPI
SystemFunction013
(
const
LPBYTE
in
,
const
LPBYTE
key
,
LPBYTE
out
)
NTSTATUS
WINAPI
SystemFunction013
(
const
BYTE
*
in
,
const
BYTE
*
key
,
LPBYTE
out
)
{
if
(
!
in
||
!
out
)
return
STATUS_UNSUCCESSFUL
;
...
...
@@ -362,7 +362,7 @@ NTSTATUS WINAPI SystemFunction013(const LPBYTE in, const LPBYTE key, LPBYTE out)
* RETURNS
* Success: STATUS_SUCCESS
*/
NTSTATUS
WINAPI
SystemFunction024
(
const
LPBYTE
in
,
const
LPBYTE
key
,
LPBYTE
out
)
NTSTATUS
WINAPI
SystemFunction024
(
const
BYTE
*
in
,
const
BYTE
*
key
,
LPBYTE
out
)
{
BYTE
deskey
[
0x10
];
...
...
@@ -390,7 +390,7 @@ NTSTATUS WINAPI SystemFunction024(const LPBYTE in, const LPBYTE key, LPBYTE out)
* RETURNS
* Success: STATUS_SUCCESS
*/
NTSTATUS
WINAPI
SystemFunction025
(
const
LPBYTE
in
,
const
LPBYTE
key
,
LPBYTE
out
)
NTSTATUS
WINAPI
SystemFunction025
(
const
BYTE
*
in
,
const
BYTE
*
key
,
LPBYTE
out
)
{
BYTE
deskey
[
0x10
];
...
...
dlls/advapi32/tests/crypt_lmhash.c
View file @
a170f762
...
...
@@ -34,14 +34,14 @@ struct ustring {
unsigned
char
*
Buffer
;
};
typedef
NTSTATUS
(
WINAPI
*
fnSystemFunction001
)(
const
LPBYTE
,
const
LPBYTE
,
LPBYTE
);
typedef
NTSTATUS
(
WINAPI
*
fnSystemFunction002
)(
const
LPBYTE
,
const
LPBYTE
,
LPBYTE
);
typedef
NTSTATUS
(
WINAPI
*
fnSystemFunction003
)(
const
LPBYTE
,
LPBYTE
);
typedef
NTSTATUS
(
WINAPI
*
fnSystemFunction001
)(
const
BYTE
*
,
const
BYTE
*
,
LPBYTE
);
typedef
NTSTATUS
(
WINAPI
*
fnSystemFunction002
)(
const
BYTE
*
,
const
BYTE
*
,
LPBYTE
);
typedef
NTSTATUS
(
WINAPI
*
fnSystemFunction003
)(
const
BYTE
*
,
LPBYTE
);
typedef
NTSTATUS
(
WINAPI
*
fnSystemFunction004
)(
const
struct
ustring
*
,
const
struct
ustring
*
,
struct
ustring
*
);
typedef
NTSTATUS
(
WINAPI
*
fnSystemFunction005
)(
const
struct
ustring
*
,
const
struct
ustring
*
,
struct
ustring
*
);
typedef
VOID
(
WINAPI
*
fnSystemFunction006
)(
PCSTR
passwd
,
PSTR
lmhash
);
typedef
NTSTATUS
(
WINAPI
*
fnSystemFunction008
)(
const
LPBYTE
,
const
LPBYTE
,
LPBYTE
);
typedef
NTSTATUS
(
WINAPI
*
fnSystemFunction009
)(
const
LPBYTE
,
const
LPBYTE
,
LPBYTE
);
typedef
NTSTATUS
(
WINAPI
*
fnSystemFunction008
)(
const
BYTE
*
,
const
BYTE
*
,
LPBYTE
);
typedef
NTSTATUS
(
WINAPI
*
fnSystemFunction009
)(
const
BYTE
*
,
const
BYTE
*
,
LPBYTE
);
typedef
int
(
WINAPI
*
descrypt
)(
unsigned
char
*
,
unsigned
char
*
,
unsigned
char
*
);
typedef
NTSTATUS
(
WINAPI
*
fnSystemFunction030
)(
void
*
,
void
*
);
typedef
NTSTATUS
(
WINAPI
*
fnSystemFunction032
)(
struct
ustring
*
,
struct
ustring
*
);
...
...
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