Blame SOURCES/amanda-3.3.3-decompress.patch

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