Diff for /embedaddon/php/ext/standard/crypt_sha512.c between versions 1.1.1.1 and 1.1.1.2

version 1.1.1.1, 2012/02/21 23:48:02 version 1.1.1.2, 2012/05/29 12:34:43
Line 506  php_sha512_crypt_r(const char *key, const char *salt,  Line 506  php_sha512_crypt_r(const char *key, const char *salt, 
         sha512_init_ctx(&alt_ctx);          sha512_init_ctx(&alt_ctx);
   
         /* For every character in the password add the entire password.  */          /* For every character in the password add the entire password.  */
        for (cnt = 0; cnt < 16 + alt_result[0]; ++cnt) {        for (cnt = 0; cnt < (size_t) (16 + alt_result[0]); ++cnt) {
                 sha512_process_bytes(salt, salt_len, &alt_ctx);                  sha512_process_bytes(salt, salt_len, &alt_ctx);
         }          }
   

Removed from v.1.1.1.1  
changed lines
  Added in v.1.1.1.2


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>