projects
/
elisp
/
epg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* epg.el (epg--make-sub-key-1): Don't set expiration-time if it is "0".
[elisp/epg.git]
/
epg.el
diff --git
a/epg.el
b/epg.el
index
243292c
..
366e4b6
100644
(file)
--- a/
epg.el
+++ b/
epg.el
@@
-1672,7
+1672,8
@@
This function is for internal use only."
(string-to-number (aref line 2))
(aref line 4)
(epg--time-from-seconds (aref line 5))
(string-to-number (aref line 2))
(aref line 4)
(epg--time-from-seconds (aref line 5))
- (epg--time-from-seconds (aref line 6))))
+ (unless (equal (aref line 6) "0")
+ (epg--time-from-seconds (aref line 6)))))
;;;###autoload
(defun epg-list-keys (context &optional name mode)
;;;###autoload
(defun epg-list-keys (context &optional name mode)