Patch from Joshua Jackson, make md5 the default hash algorithm
This commit is contained in:
parent
b4f3d7f594
commit
3aeaee33b6
@ -23,10 +23,10 @@ static void set_filesize_limit(int blocks);
|
|||||||
|
|
||||||
int get_algo(char *a)
|
int get_algo(char *a)
|
||||||
{
|
{
|
||||||
int x = 0; /* standart: DES */
|
int x = 1; /* standard: MD5 */
|
||||||
|
|
||||||
if (strcasecmp(a, "md5") == 0)
|
if (strcasecmp(a, "des") == 0)
|
||||||
x = 1;
|
x = 0;
|
||||||
return x;
|
return x;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user