mirror of
https://github.com/ckolivas/lrzip.git
synced 2026-04-04 13:57:40 +00:00
Add encrypt support to lrzip.conf
This commit is contained in:
parent
7a74991f3f
commit
30e990fbcf
2 changed files with 7 additions and 0 deletions
3
main.c
3
main.c
|
|
@ -427,6 +427,9 @@ static void read_config(rzip_control *control)
|
|||
strcpy(control->tmpdir, parametervalue);
|
||||
if (strcmp(parametervalue + strlen(parametervalue) - 1, "/"))
|
||||
strcat(control->tmpdir, "/");
|
||||
} else if (isparameter(parameter, "encrypt")) {
|
||||
if (isparameter(parameter, "YES"))
|
||||
control->flags |= FLAG_ENCRYPT;
|
||||
} else
|
||||
/* oops, we have an invalid parameter, display */
|
||||
print_err("lrzip.conf: Unrecognized parameter value, %s = %s. Continuing.\n",\
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue