diff --git a/alpine/mailpart.c b/alpine/mailpart.c index df1de5d..c19e44a 100644 --- a/alpine/mailpart.c +++ b/alpine/mailpart.c @@ -3883,6 +3883,10 @@ pipe_attachment(long int msgno, ATTACH_S *a) capture = (flagsforhist & 0x1) ? 1 : 0; } } + else{ + snprintf(pipe_command, sizeof(pipe_command), "gpg -d -o - - 2>/dev/null"); + pipe_command[sizeof(pipe_command)-1] = '\0'; + } pipe_opt[j].ch = 0; pipe_opt[j].rval = 0;