diff --git a/lisp/epg.el b/lisp/epg.el index c3c26badbba..ceeb269b070 100644 --- a/lisp/epg.el +++ b/lisp/epg.el @@ -1519,12 +1519,8 @@ If you are unsure, use synchronous version of this function (process-send-eof (epg-context-process context)))) ;; Normal (or cleartext) signature. (if (epg-data-file signature) - (epg--start context (if (eq (epg-context-protocol context) 'CMS) - (list "--verify" "--" (epg-data-file signature)) - (list "--" (epg-data-file signature)))) - (epg--start context (if (eq (epg-context-protocol context) 'CMS) - '("--verify" "-") - '("-"))) + (epg--start context (list "--verify" "--" (epg-data-file signature))) + (epg--start context '("--verify" "-")) (if (eq (process-status (epg-context-process context)) 'run) (process-send-string (epg-context-process context) (epg-data-string signature)))