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
301cfd14
Commit
301cfd14
authored
Mar 26, 2009
by
Andrew Talbot
Committed by
Alexandre Julliard
Mar 27, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
advapi32: Constify some variables.
parent
9e82e50e
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
+5
-5
crypt.c
dlls/advapi32/crypt.c
+1
-1
crypt.h
dlls/advapi32/crypt.h
+1
-1
crypt_arc4.c
dlls/advapi32/crypt_arc4.c
+1
-1
crypt_lmhash.c
dlls/advapi32/tests/crypt_lmhash.c
+2
-2
No files found.
dlls/advapi32/crypt.c
View file @
301cfd14
...
...
@@ -2243,7 +2243,7 @@ BOOL WINAPI CryptVerifySignatureA (HCRYPTHASH hHash, CONST BYTE *pbSignature, DW
* TRUE if blocks are the same
* FALSE if blocks are different
*/
BOOL
WINAPI
SystemFunction030
(
PVOID
b1
,
P
VOID
b2
)
BOOL
WINAPI
SystemFunction030
(
LPCVOID
b1
,
LPC
VOID
b2
)
{
return
!
memcmp
(
b1
,
b2
,
0x10
);
}
...
...
dlls/advapi32/crypt.h
View file @
301cfd14
...
...
@@ -93,6 +93,6 @@ struct ustring {
unsigned
char
*
Buffer
;
};
NTSTATUS
WINAPI
SystemFunction032
(
struct
ustring
*
data
,
struct
ustring
*
key
);
NTSTATUS
WINAPI
SystemFunction032
(
struct
ustring
*
data
,
const
struct
ustring
*
key
);
#endif
/* __WINE_CRYPT_H_ */
dlls/advapi32/crypt_arc4.c
View file @
301cfd14
...
...
@@ -94,7 +94,7 @@ static void arc4_ProcessString(arc4_info *a4i, BYTE *inoutString, unsigned int l
* NOTES
* see http://web.it.kth.se/~rom/ntsec.html#crypto-strongavail
*/
NTSTATUS
WINAPI
SystemFunction032
(
struct
ustring
*
data
,
struct
ustring
*
key
)
NTSTATUS
WINAPI
SystemFunction032
(
struct
ustring
*
data
,
const
struct
ustring
*
key
)
{
arc4_info
a4i
;
...
...
dlls/advapi32/tests/crypt_lmhash.c
View file @
301cfd14
...
...
@@ -43,8 +43,8 @@ typedef VOID (WINAPI *fnSystemFunction006)( PCSTR passwd, PSTR lmhash );
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
*
);
typedef
NTSTATUS
(
WINAPI
*
fnSystemFunction030
)(
const
void
*
,
const
void
*
);
typedef
NTSTATUS
(
WINAPI
*
fnSystemFunction032
)(
struct
ustring
*
,
const
struct
ustring
*
);
fnSystemFunction001
pSystemFunction001
;
fnSystemFunction002
pSystemFunction002
;
...
...
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