summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-07-24 19:47:39 -0400
committerVolker Lendecke <vl@samba.org>2009-07-25 12:59:20 -0400
commit4c6547e8a1f872e5bc1e132ec4ccc6f634166932 (patch)
tree35695672f9ef4c3eff611e180b3d48ecc1fb0cc2 /source3
parent8cba97a16459eb1b1dc18c85e542ca571490ec5f (diff)
downloadsamba-4c6547e8a1f872e5bc1e132ec4ccc6f634166932.tar.gz
samba-4c6547e8a1f872e5bc1e132ec4ccc6f634166932.tar.bz2
samba-4c6547e8a1f872e5bc1e132ec4ccc6f634166932.zip
Move 16 bytes from data to r/o text segment
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/smb2_signing.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/smb2_signing.c b/source3/smbd/smb2_signing.c
index 55ed4f6d1c..e584dd91ca 100644
--- a/source3/smbd/smb2_signing.c
+++ b/source3/smbd/smb2_signing.c
@@ -85,7 +85,7 @@ NTSTATUS smb2_signing_check_pdu(DATA_BLOB session_key,
uint64_t session_id;
struct HMACSHA256Context m;
uint8_t res[SHA256_DIGEST_LENGTH];
- static const uint8_t zero_sig[16];
+ static const uint8_t zero_sig[16] = { 0, };
int i;
if (count < 2) {