Changeset 481 for trunk/src/sh_prelink.c


Ignore:
Timestamp:
Jul 18, 2015, 5:06:52 PM (6 years ago)
Author:
katerina
Message:

Enhancements and fixes for tickets #374, #375, #376, #377, #378, and #379.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/sh_prelink.c

    r379 r481  
    8787    return S_FALSE;
    8888
    89   status = sl_read_timeout (fd, magic, 4, alert_timeout, SL_FALSE);
     89  status = sl_read_timeout (fd, magic, 4, alert_timeout, S_FALSE);
    9090  (void) sl_rewind(fd);
    9191  if (status == 4)
     
    156156/* returns static storage
    157157 */
    158 int sh_prelink_run (char * path, char * file_hash, int alert_timeout)
     158int sh_prelink_run (char * path, char * file_hash, int alert_timeout, unsigned long mask)
    159159{
    160160  static int      init = S_FALSE;
     
    262262    char hashbuf[KEYBUF_SIZE];
    263263    UINT64 length_nolim = TIGER_NOLIM;
     264    if (sh.flag.opts == S_TRUE) sh_tiger_set_hashtype_mask(mask);
    264265    sl_strlcpy(file_hash,
    265266               sh_tiger_generic_hash (path, task.pipeTI, &length_nolim, alert_timeout,
Note: See TracChangeset for help on using the changeset viewer.