mirror of
https://github.com/ckolivas/lrzip.git
synced 2026-02-13 10:54:23 +01:00
Allow encrypted decompression with STDIO when a passphrase is given.
This commit is contained in:
parent
21719310f4
commit
63fc40ea93
2
lrzip.c
2
lrzip.c
|
|
@ -867,7 +867,7 @@ bool decompress_file(rzip_control *control)
|
|||
else if (STDIN) {
|
||||
fd_in = open_tmpinfile(control);
|
||||
read_tmpinmagic(control);
|
||||
if (ENCRYPT)
|
||||
if (ENCRYPT && !control->passphrase)
|
||||
failure_return(("Cannot decompress encrypted file from STDIN\n"), false);
|
||||
expected_size = control->st_size;
|
||||
if (unlikely(!open_tmpinbuf(control)))
|
||||
|
|
|
|||
Loading…
Reference in a new issue