| Patch fix for *Encryption and hash functions Bug #54721Patch version 2011-05-21 12:56 UTCReturn to Bug #54721 |
Download this patch Patch Revisions:
 Developer: os@irj.ru
Index: php_crypt_r.c
===================================================================
--- php_crypt_r.c	(revision 311305)
+++ php_crypt_r.c	(working copy)
@@ -197,7 +197,7 @@
 		goto _destroyCtx1;
 	}
 
-	dwHashLen = pwl + sl + pwl;
+	dwHashLen = 16;
 	CryptGetHashParam(ctx1, HP_HASHVAL, final, &dwHashLen, 0);
 	/*  MD5(pw,salt,pw). Valid. */
 
 |