diff options
| author | Daiki Ueno | 2008-09-16 02:07:05 +0000 |
|---|---|---|
| committer | Daiki Ueno | 2008-09-16 02:07:05 +0000 |
| commit | 761cd524193337fc59b316e04ecf884d482fa89d (patch) | |
| tree | 7fdbe98911f9f2dc19246136887e11c668ccfe52 | |
| parent | 91e97ba8ba6b3b0406317a07077d4a2fb3eb30a2 (diff) | |
| download | emacs-761cd524193337fc59b316e04ecf884d482fa89d.tar.gz emacs-761cd524193337fc59b316e04ecf884d482fa89d.zip | |
(epg-start-verify): Pass "--verify" to gpgsm.
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/epg.el | 8 |
2 files changed, 10 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 496ead2fbc3..fdae2290ac8 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2008-09-16 Daiki Ueno <ueno@unixuser.org> | ||
| 2 | |||
| 3 | * epg.el (epg-start-verify): Pass "--verify" to gpgsm. | ||
| 4 | |||
| 1 | 2008-09-15 Juanma Barranquero <lekktu@gmail.com> | 5 | 2008-09-15 Juanma Barranquero <lekktu@gmail.com> |
| 2 | 6 | ||
| 3 | * vc-rcs.el (vc-rcs-steal-lock, vc-rcs-checkout): Fix docstring typos. | 7 | * vc-rcs.el (vc-rcs-steal-lock, vc-rcs-checkout): Fix docstring typos. |
diff --git a/lisp/epg.el b/lisp/epg.el index 7ad0d34b4b0..75a860933cb 100644 --- a/lisp/epg.el +++ b/lisp/epg.el | |||
| @@ -2013,8 +2013,12 @@ If you are unsure, use synchronous version of this function | |||
| 2013 | (process-send-eof (epg-context-process context)))) | 2013 | (process-send-eof (epg-context-process context)))) |
| 2014 | ;; Normal (or cleartext) signature. | 2014 | ;; Normal (or cleartext) signature. |
| 2015 | (if (epg-data-file signature) | 2015 | (if (epg-data-file signature) |
| 2016 | (epg--start context (list "--" (epg-data-file signature))) | 2016 | (epg--start context (if (eq (epg-context-protocol context) 'CMS) |
| 2017 | (epg--start context '("-")) | 2017 | (list "--verify" "--" (epg-data-file signature)) |
| 2018 | (list "--" (epg-data-file signature)))) | ||
| 2019 | (epg--start context (if (eq (epg-context-protocol context) 'CMS) | ||
| 2020 | '("--verify" "-") | ||
| 2021 | '("-"))) | ||
| 2018 | (if (eq (process-status (epg-context-process context)) 'run) | 2022 | (if (eq (process-status (epg-context-process context)) 'run) |
| 2019 | (process-send-string (epg-context-process context) | 2023 | (process-send-string (epg-context-process context) |
| 2020 | (epg-data-string signature))) | 2024 | (epg-data-string signature))) |