Patch from Joshua Jackson, make md5 the default hash algorithm

This commit is contained in:
Glenn L McGrath 2003-02-08 23:20:02 +00:00
parent b4f3d7f594
commit 3aeaee33b6

View File

@ -23,10 +23,10 @@ static void set_filesize_limit(int blocks);
int get_algo(char *a)
{
int x = 0; /* standart: DES */
int x = 1; /* standard: MD5 */
if (strcasecmp(a, "md5") == 0)
x = 1;
if (strcasecmp(a, "des") == 0)
x = 0;
return x;
}