summaryrefslogtreecommitdiff
path: root/source4/libcli
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2005-01-10 22:53:52 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:08:39 -0500
commit28236430f4b0114d9539967fa9c10bfd69c38774 (patch)
tree4fd9997051aaf34df3f3d37f9fbcb72d12727483 /source4/libcli
parent7b91c309b8275c407f86139beed588d14ca0bf11 (diff)
downloadsamba-28236430f4b0114d9539967fa9c10bfd69c38774.tar.gz
samba-28236430f4b0114d9539967fa9c10bfd69c38774.tar.bz2
samba-28236430f4b0114d9539967fa9c10bfd69c38774.zip
r4658: (grr, commited wrong file last time).
We really should have a seperate structure for this (the ARCFOUR sbox), but for now, get the declaration right. Andrew Bartlett (This used to be commit 2e16f3a8d31954fdfe4a8832637fcd9191ecab96)
Diffstat (limited to 'source4/libcli')
-rw-r--r--source4/libcli/util/smbdes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libcli/util/smbdes.c b/source4/libcli/util/smbdes.c
index 4e4222b9e6..016bd59501 100644
--- a/source4/libcli/util/smbdes.c
+++ b/source4/libcli/util/smbdes.c
@@ -365,7 +365,7 @@ void des_crypt112_16(uint8_t out[16], uint8_t in[16], const uint8_t key[14], int
}
/* initialise the arcfour sbox with key */
-void arcfour_init(uint8_t s_box[256], const DATA_BLOB *key)
+void arcfour_init(uint8_t s_box[258], const DATA_BLOB *key)
{
int ind;
uint8_t j = 0;