BUGREPORT: small typo in Crypt/CHAP.php

From: Date: Sat, 20 Sep 2003 09:31:49 +0000
Subject: BUGREPORT: small typo in Crypt/CHAP.php
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-7932@lists.php.net to get a copy of this message
Hi, while creating a password change form for out samba domain, I discovered a small typo bug in Crypt/CHAP.php, in function lmPasswordHash(). instead of $this->_desHash(substr($plain, 8, 7)); there should be $this->_desHash(substr($plain, 7, 7)); that's all, but it prevented from creating a working lmPassword, which is longer than 7 characters. -- Ernest Beinrohr, OERNii eAdmin @ axonpro.sk, http://www.axonpro.sk/ +421-2--6241-0360, +421-903--482-603 HomePage: http://www.OERNii.sk/ ICQ: 28153343 ----- Opportunity is missed by most people because it is dressed in overalls and looks like work. - Thomas Edison

« previous php.pear.general (#7932) next »