Branch: Tag:

2011-11-24

2011-11-24 10:38:35 by Henrik Grubbström (Grubba) <grubba@grubba.org>

crypt(): Handle UNDEFINED as the second argument properly.

2998:    foo=my_rand();    salt[1] = choise[foo % (size_t) strlen(choise)];    saltp=salt; +  if (args > 1) { +  pop_n_elems(args-1); +  args = 1;    } -  +  }   #ifdef HAVE_CRYPT    ret = (char *)crypt(pwd, saltp);   #else