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).
This commit is contained in:
parent
481ae0855f
commit
8907f7b936
2 changed files with 8 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
|||
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))))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue