Commit 8907f7b9 authored by Daiki Ueno's avatar Daiki Ueno

Don't throw an error when any of encryption subkeys are expired.

* epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Don't
presume KEYEXPIRED and KEYREVOKED to be a fatal error status
(Bug#7931).
parent 481ae085
2011-01-29 Daiki Ueno <ueno@unixuser.org>
* epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Don't
presume KEYEXPIRED and KEYREVOKED to be a fatal error status
(Bug#7931).
2011-01-29 Stefan Monnier <monnier@iro.umontreal.ca>
* progmodes/compile.el: Avoid an N² behavior in grep.
......
......@@ -1561,14 +1561,14 @@ This function is for internal use only."
(defun epg--status-KEYEXPIRED (context string)
(epg-context-set-result-for
context 'error
context 'key
(cons (list 'key-expired (cons 'expiration-time
(epg--time-from-seconds string)))
(epg-context-result-for context 'error))))
(defun epg--status-KEYREVOKED (context string)
(epg-context-set-result-for
context 'error
context 'key
(cons '(key-revoked)
(epg-context-result-for context 'error))))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment