1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-18 00:23:50 +03:00

r24993: Apply some const

This commit is contained in:
Volker Lendecke
2007-09-07 12:13:16 +00:00
committed by Gerald (Jerry) Carter
parent 2e99e141c3
commit 613b9fcd18
2 changed files with 5 additions and 4 deletions

View File

@@ -1551,7 +1551,7 @@ static void schannel_digest(struct schannel_auth_struct *a,
uchar digest_final[16])
{
uchar whole_packet_digest[16];
static uchar zeros[4];
static const uchar zeros[4] = { 0, };
struct MD5Context ctx3;
/* verfiy the signature on the packet by MD5 over various bits */
@@ -1580,7 +1580,7 @@ static void schannel_get_sealing_key(struct schannel_auth_struct *a,
RPC_AUTH_SCHANNEL_CHK *verf,
uchar sealing_key[16])
{
static uchar zeros[4];
static const uchar zeros[4] = { 0, };
uchar digest2[16];
uchar sess_kf0[16];
int i;
@@ -1607,7 +1607,7 @@ static void schannel_get_sealing_key(struct schannel_auth_struct *a,
static void schannel_deal_with_seq_num(struct schannel_auth_struct *a,
RPC_AUTH_SCHANNEL_CHK *verf)
{
static uchar zeros[4];
static const uchar zeros[4] = { 0, };
uchar sequence_key[16];
uchar digest1[16];