From 28236430f4b0114d9539967fa9c10bfd69c38774 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Mon, 10 Jan 2005 22:53:52 +0000 Subject: 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) --- source4/libcli/util/smbdes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit