Changeset 300 for trunk/src


Ignore:
Timestamp:
Nov 6, 2010, 8:33:41 AM (14 years ago)
Author:
katerina
Message:

Fixes for minor buglets.

Location:
trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/sh_portcheck.c

    r295 r300  
    17901790#endif
    17911791
    1792   p = sh_getservbyport(0, SH_PROTO_STR(IPPROTO_TCP), buf, sizeof(buf));
     1792  p = sh_getservbyport(0, SH_PROTO_STR(IPPROTO_UDP), buf, sizeof(buf));
    17931793  CuAssertTrue(tc, p == NULL);
    17941794
  • trunk/src/sh_tiger0.c

    r248 r300  
    15811581  if (0 == strcmp(c, _("TIGER192")))
    15821582    hash_type = 0;
    1583 #ifdef USE_MD5
     1583#ifdef USE_SHA1
    15841584  else if (0 == strcmp(c, _("SHA1")))   
    15851585    hash_type = 1;
    15861586#endif
    1587 #ifdef USE_SHA1
     1587#ifdef USE_MD5
    15881588  else if (0 == strcmp(c, _("MD5")))   
    15891589    hash_type = 2;
Note: See TracChangeset for help on using the changeset viewer.