Blame SOURCES/amanda-3.3.3-decompress.patch

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