Changeset 160
- Timestamp:
- Jan 17, 2008, 1:43:21 AM (17 years ago)
- Location:
- trunk
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/docs/Changelog
r158 r160 1 1 2.4.2: 2 * change HP-UX default optimization to +O2 since +O3 breaks cutest 2 * fix broken option --with-checksum (reported by halosfan), 3 regression test added 4 * change HP-UX default optimization to +O2 since +O3 breaks 5 cutest unit testing framework 3 6 * put result vector of rng in skey struct 4 7 * fix more compiler warnings, and a potential (compiler-dependent) … … 20 23 * fix unsetting of sh_thread_pause_flag (was too early) 21 24 22 2.4.1a :25 2.4.1a (28-11-2007): 23 26 * fix overwrite of ErrFlags (functionality bug) 24 27 25 2.4.1 :28 2.4.1 (26-11-2007): 26 29 * security fix: regression in the seeding routine for the PRNG 27 30 (detected by C. Mueller) … … 30 33 timestamps, reported by S. Clormann) 31 34 32 2.4.0a :35 2.4.0a (08-11-2007): 33 36 * fix compile failure with --enable-static (reported by S. Clormann) 34 37 * fix potential deadlock if SIGHUP is received while suspended 35 38 36 2.4.0 :39 2.4.0 (01-11-2007): 37 40 * eliminate alarm() for I/O timeout (replaced by select) 38 41 * use getgrgid_r, getpwnam_r, getpwuid_r, gmtime_r, localtime_r, -
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, -
trunk/test/testrun_2b.sh
r30 r160 64 64 tail -n "+$SKIP" ${SCRIPTDIR}/test.sh >/dev/null 2>&1 65 65 if [ $? -eq 0 ]; then 66 tail -n "+$SKIP" ${SCRIPTDIR}/test.sh | gunzip -c - | tar xf - && \66 tail -n "+$SKIP" ${SCRIPTDIR}/test.sh | gunzip -c - 2>/dev/null | tar xf - && \ 67 67 mv "./testrc.gpg.asc" "${RCFILE_C}" 68 68 else 69 tail "+$SKIP" ${SCRIPTDIR}/test.sh | gunzip -c - | tar xf - && \69 tail "+$SKIP" ${SCRIPTDIR}/test.sh | gunzip -c - 2>/dev/null | tar xf - && \ 70 70 mv "./testrc.gpg.asc" "${RCFILE_C}" 71 71 fi
Note:
See TracChangeset
for help on using the changeset viewer.