+2008-09-16 Daiki Ueno <ueno@unixuser.org>
+
+ * epg.el (epg-start-verify): Pass "--verify" to gpgsm.
+
2008-09-15 Juanma Barranquero <lekktu@gmail.com>
* vc-rcs.el (vc-rcs-steal-lock, vc-rcs-checkout): Fix docstring typos.
(process-send-eof (epg-context-process context))))
;; Normal (or cleartext) signature.
(if (epg-data-file signature)
- (epg--start context (list "--" (epg-data-file signature)))
- (epg--start context '("-"))
+ (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" "-")
+ '("-")))
(if (eq (process-status (epg-context-process context)) 'run)
(process-send-string (epg-context-process context)
(epg-data-string signature)))