Diff for /embedaddon/php/ext/standard/crypt_sha256.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 471  char * php_sha256_crypt_r(const char *key, const char  Line 471  char * php_sha256_crypt_r(const char *key, const char 
         sha256_init_ctx(&alt_ctx);          sha256_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) {
                 sha256_process_bytes(salt, salt_len, &alt_ctx);                  sha256_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>