From 2a3cd67074073a38dccb528d2600fb8d88d3b8ed Mon Sep 17 00:00:00 2001 From: Luke Leighton Date: Wed, 14 Oct 1998 16:12:45 +0000 Subject: 16 changed to 8 by mistake in samoemhash. (This used to be commit ed6ffa4430e3ae6e0c9f49650f53ce79d12af28e) --- source3/libsmb/smbdes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/libsmb') diff --git a/source3/libsmb/smbdes.c b/source3/libsmb/smbdes.c index c0f749ad3b..46b337cda8 100644 --- a/source3/libsmb/smbdes.c +++ b/source3/libsmb/smbdes.c @@ -438,7 +438,7 @@ void SamOEMhash( unsigned char *data, unsigned char *key, int val) s_box[ind] = s_box[j]; s_box[j] = tc; } - for( ind = 0; ind < (val ? 516 : 8); ind++) + for( ind = 0; ind < (val ? 516 : 16); ind++) { unsigned char tc; unsigned char t; -- cgit