php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #54721
Patch fix revision 2011-05-21 12:56 UTC by os at irj dot ru

Patch fix for *Encryption and hash functions Bug #54721

Patch version 2011-05-21 12:56 UTC

Return 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. */
 
 
PHP Copyright © 2001-2014 The PHP Group
All rights reserved.
Last updated: Thu Apr 17 21:01:56 2014 UTC