- Timestamp:
- Jan 17, 2008, 1:43:21 AM (17 years ago)
- Location:
- trunk/src
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/samhain.c
r153 r160 1488 1488 (void) sl_strlcpy(sh.data.hash, 1489 1489 sh_tiger_hash (file_path('D', 'R'), 1490 TIGER_FILE, 0,1490 TIGER_FILE, TIGER_NOLIM, 1491 1491 hashbuf, sizeof(hashbuf)), 1492 1492 KEY_LEN+1); -
trunk/src/sh_extern.c
r133 r160 187 187 PDBG_S("checksum test"); 188 188 if (0 != sl_strcmp(task->checksum, 189 sh_tiger_hash (task->command, TIGER_FILE, 0,189 sh_tiger_hash (task->command, TIGER_FILE, TIGER_NOLIM, 190 190 hashbuf, sizeof(hashbuf)) 191 191 ) … … 365 365 if (0 != sl_strcmp(task->checksum, 366 366 sh_tiger_hash (task->command, 367 fd, 0, hashbuf, sizeof(hashbuf))))367 fd, TIGER_NOLIM, hashbuf, sizeof(hashbuf)))) 368 368 { 369 369 PDBGC_S("fexecve: checksum mismatch"); -
trunk/src/sh_hash.c
r153 r160 1172 1172 1173 1173 sl_strlcpy (sh.data.hash, 1174 sh_tiger_hash (file_path('C', 'R'), /*irrelevant, TIGER_FD*/1175 fd, 0, hashbuf, sizeof(hashbuf)),1174 sh_tiger_hash (file_path('C', 'R'), 1175 fd, TIGER_NOLIM, hashbuf, sizeof(hashbuf)), 1176 1176 KEY_LEN+1); 1177 1177 sl_rewind (fd); … … 1200 1200 1201 1201 if (0 != sl_strncmp(sh.data.hash, 1202 sh_tiger_hash (file_path('D', 'R'), fd, 0,1202 sh_tiger_hash (file_path('D', 'R'), fd, TIGER_NOLIM, 1203 1203 hashbuf, sizeof(hashbuf)), 1204 1204 KEY_LEN) -
trunk/src/sh_prelink.c
r151 r160 132 132 if (*(task->checksum) == '\0' || 133 133 0 == sl_strcmp(task->checksum, 134 sh_tiger_hash (task->command, ticket, 0, hashbuf, sizeof(hashbuf))))134 sh_tiger_hash (task->command, ticket, TIGER_NOLIM, hashbuf, sizeof(hashbuf)))) 135 135 { 136 136 task->com_fd = get_the_fd(ticket); -
trunk/src/sh_readconf.c
r133 r160 253 253 */ 254 254 sl_strlcpy(sh.conf.hash, 255 sh_tiger_hash(file_path('C',local_flag), fd, 0, hashbuf, sizeof(hashbuf)),255 sh_tiger_hash(file_path('C',local_flag), fd, TIGER_NOLIM, hashbuf, sizeof(hashbuf)), 256 256 KEY_LEN+1); 257 257 sl_rewind (fd); -
trunk/src/sh_unix.c
r154 r160 917 917 918 918 sl_strlcpy(sh.exec.hash, 919 sh_tiger_hash (c, TIGER_FILE, 0, hashbuf, sizeof(hashbuf)),919 sh_tiger_hash (c, TIGER_FILE, TIGER_NOLIM, hashbuf, sizeof(hashbuf)), 920 920 KEY_LEN+1); 921 921 sl_snprintf(message, 512, _("%s has checksum: %s"), … … 947 947 948 948 sl_strlcpy(newhash, 949 sh_tiger_hash (sh.exec.path, TIGER_FILE, 0, hashbuf, sizeof(hashbuf)),949 sh_tiger_hash (sh.exec.path, TIGER_FILE, TIGER_NOLIM, hashbuf, sizeof(hashbuf)), 950 950 KEY_LEN+1); 951 951 if (0 == sl_strncmp(sh.exec.hash,
Note:
See TracChangeset
for help on using the changeset viewer.