Changeset 133 for trunk/src/sh_err_log.c
- Timestamp:
- Oct 25, 2007, 12:19:05 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/sh_err_log.c
r132 r133 145 145 char c_cont; 146 146 int chk_mode = CHK_KEY; 147 char hashbuf[KEYBUF_SIZE]; 147 148 148 149 sh_error_logoff(); … … 383 384 { 384 385 (void) sl_strlcpy(key, 385 sh_tiger_hash(NULL, TIGER_DATA, 0), 386 sh_tiger_hash(NULL, TIGER_DATA, 0, 387 hashbuf, sizeof(hashbuf)), 386 388 KEY_LEN+1); 387 389 chk_mode = CHK_NON; … … 428 430 */ 429 431 (void) sl_strlcpy (key, 430 sh_tiger_hash (key, TIGER_DATA, KEY_LEN), 432 sh_tiger_hash (key, TIGER_DATA, KEY_LEN, 433 hashbuf, sizeof(hashbuf)), 431 434 KEY_LEN+1); 432 435 } … … 440 443 status = sl_strncmp (signature, 441 444 sh_tiger_hash (buf, TIGER_DATA, 442 (unsigned long) sl_strlen(buf)), 445 (unsigned long) sl_strlen(buf), 446 hashbuf, sizeof(hashbuf)), 443 447 KEY_LEN); 444 448 … … 861 865 if (current->log_start == S_TRUE) 862 866 { 867 char hashbuf[KEYBUF_SIZE]; 868 863 869 if (sh.real.user[0] == '\0') 864 870 (void) sh_unix_getUser(); … … 871 877 */ 872 878 (void) sl_strlcpy(sigkey_new, 873 sh_tiger_hash (sigkey_old, TIGER_DATA, KEY_LEN), 879 sh_tiger_hash (sigkey_old, TIGER_DATA, KEY_LEN, 880 hashbuf, sizeof(hashbuf)), 874 881 KEY_LEN+1); 875 882
Note:
See TracChangeset
for help on using the changeset viewer.