From: Luke Leighton Date: Wed, 14 Oct 1998 16:12:45 +0000 (+0000) Subject: 16 changed to 8 by mistake in samoemhash. X-Git-Tag: samba-4.0.0alpha6~801^2~21483 X-Git-Url: http://git.samba.org/?p=samba.git;a=commitdiff_plain;h=2a3cd67074073a38dccb528d2600fb8d88d3b8ed 16 changed to 8 by mistake in samoemhash. (This used to be commit ed6ffa4430e3ae6e0c9f49650f53ce79d12af28e) --- diff --git a/source3/libsmb/smbdes.c b/source3/libsmb/smbdes.c index c0f749ad3b3..46b337cda88 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;