mirror of
https://github.com/ckolivas/lrzip.git
synced 2026-01-09 10:00:27 +01:00
Encryption is not possible for stdin or stdout.
This commit is contained in:
parent
be884d09e0
commit
a0bacc90ee
4
main.c
4
main.c
|
|
@ -696,8 +696,8 @@ recursion:
|
|||
|
||||
gettimeofday(&start_time, NULL);
|
||||
|
||||
if (unlikely(STDIN && ENCRYPT))
|
||||
failure("Unable to work from STDIN while reading password\n");
|
||||
if (unlikely((STDIN || STDOUT) && ENCRYPT))
|
||||
failure("Unable to work from STDIO while reading password\n");
|
||||
|
||||
memcpy(&local_control, &base_control, sizeof(rzip_control));
|
||||
if (DECOMPRESS || TEST_ONLY)
|
||||
|
|
|
|||
Loading…
Reference in a new issue