From: ueno Date: Mon, 19 Mar 2007 08:30:35 +0000 (+0000) Subject: Ignore errors when parsing DN. X-Git-Tag: epg-0_0_11~60 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=7ceedd4cc96b635a2c381a1af8c593666e400c0a;p=elisp%2Fepg.git Ignore errors when parsing DN. --- diff --git a/epg.el b/epg.el index 7453458..8c0b049 100644 --- a/epg.el +++ b/epg.el @@ -1755,7 +1755,9 @@ signatures should be included." (cdr (assq (string-to-char (aref (car lines) 1)) epg-key-validity-alist))) (if cert - (epg-dn-from-string string) + (condition-case nil + (epg-dn-from-string string) + (errror string)) string)) (epg-key-user-id-list (car keys))))) ((equal (aref (car lines) 0) "fpr")