diff options
author | Volker Lendecke <vlendec@samba.org> | 2007-09-07 12:13:16 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:30:32 -0500 |
commit | 613b9fcd18bcc29bf5313e2287b53b8de430d17e (patch) | |
tree | 11810a60d7e69daacd392819bd8365db89601e10 /source/rpc_parse | |
parent | 2e99e141c3254fe072756697b8db3cbd4e4f1db4 (diff) | |
download | samba-613b9fcd18bcc29bf5313e2287b53b8de430d17e.tar.gz samba-613b9fcd18bcc29bf5313e2287b53b8de430d17e.tar.xz samba-613b9fcd18bcc29bf5313e2287b53b8de430d17e.zip |
r24993: Apply some const
Diffstat (limited to 'source/rpc_parse')
-rw-r--r-- | source/rpc_parse/parse_prs.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/rpc_parse/parse_prs.c b/source/rpc_parse/parse_prs.c index 3c1b200ebcb..b92433f92fc 100644 --- a/source/rpc_parse/parse_prs.c +++ b/source/rpc_parse/parse_prs.c @@ -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]; |