aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaiki Ueno2011-02-02 16:53:29 +0900
committerDaiki Ueno2011-02-02 16:53:29 +0900
commit2d871302f49717b9396fcfe34550b69d00551557 (patch)
tree897ef4b5aabf8ff7334d5dc060e3047fa1cf88d9
parent15d73a19fc9f52899e803625dc31cbc90c13fba0 (diff)
downloademacs-2d871302f49717b9396fcfe34550b69d00551557.tar.gz
emacs-2d871302f49717b9396fcfe34550b69d00551557.zip
Backport Bug#7931 from trunk.
* epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Don't presume KEYEXPIRED and KEYREVOKED to be a fatal error status (Bug#7931).
-rw-r--r--lisp/ChangeLog6
-rw-r--r--lisp/epg.el4
2 files changed, 8 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index ead0456a7b1..2159eda340a 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -15,6 +15,12 @@
15 15
16 * files.el (copy-directory): Fix arguments to recursive call. 16 * files.el (copy-directory): Fix arguments to recursive call.
17 17
182011-01-29 Daiki Ueno <ueno@unixuser.org>
19
20 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Don't
21 presume KEYEXPIRED and KEYREVOKED to be a fatal error status
22 (Bug#7931).
23
182011-01-29 Chong Yidong <cyd@stupidchicken.com> 242011-01-29 Chong Yidong <cyd@stupidchicken.com>
19 25
20 * files.el (copy-directory): If destination is an existing 26 * files.el (copy-directory): If destination is an existing
diff --git a/lisp/epg.el b/lisp/epg.el
index fdcd0cbdc70..673109b2015 100644
--- a/lisp/epg.el
+++ b/lisp/epg.el
@@ -1560,14 +1560,14 @@ This function is for internal use only."
1560 1560
1561(defun epg--status-KEYEXPIRED (context string) 1561(defun epg--status-KEYEXPIRED (context string)
1562 (epg-context-set-result-for 1562 (epg-context-set-result-for
1563 context 'error 1563 context 'key
1564 (cons (list 'key-expired (cons 'expiration-time 1564 (cons (list 'key-expired (cons 'expiration-time
1565 (epg--time-from-seconds string))) 1565 (epg--time-from-seconds string)))
1566 (epg-context-result-for context 'error)))) 1566 (epg-context-result-for context 'error))))
1567 1567
1568(defun epg--status-KEYREVOKED (context string) 1568(defun epg--status-KEYREVOKED (context string)
1569 (epg-context-set-result-for 1569 (epg-context-set-result-for
1570 context 'error 1570 context 'key
1571 (cons '(key-revoked) 1571 (cons '(key-revoked)
1572 (epg-context-result-for context 'error)))) 1572 (epg-context-result-for context 'error))))
1573 1573