Blame SOURCES/amanda-3.3.3-decompress.patch

ea0dde
diff -Npru old/recover-src/extract_list.c new/recover-src/extract_list.c
ea0dde
--- old/recover-src/extract_list.c	2013-01-10 13:54:49.000000000 +0100
ea0dde
+++ new/recover-src/extract_list.c	2017-01-24 11:06:37.614551697 +0100
ea0dde
@@ -2862,7 +2862,8 @@ start_processing_data(
ea0dde
     }
ea0dde
 
ea0dde
     /* decrypt */
ea0dde
-    if (ctl_data->file.encrypted) {
ea0dde
+    if (ctl_data->file.encrypted &&
ea0dde
+	am_has_feature(tapesrv_features, fe_amrecover_receive_unfiltered)) {
ea0dde
 	char *argv[3];
ea0dde
 	int  crypt_out;
ea0dde
 	int  errfd = fileno(stderr);
ea0dde
@@ -2876,7 +2877,8 @@ start_processing_data(
ea0dde
     }
ea0dde
 
ea0dde
     /* decompress */
ea0dde
-    if (ctl_data->file.compressed) {
ea0dde
+    if (ctl_data->file.compressed &&
ea0dde
+	am_has_feature(tapesrv_features, fe_amrecover_receive_unfiltered)) {
ea0dde
 	char *argv[3];
ea0dde
 	int  comp_out;
ea0dde
 	int  errfd = fileno(stderr);