Ignore errors when parsing DN.
authorueno <ueno>
Mon, 19 Mar 2007 08:30:35 +0000 (08:30 +0000)
committerueno <ueno>
Mon, 19 Mar 2007 08:30:35 +0000 (08:30 +0000)
epg.el

diff --git a/epg.el b/epg.el
index 7453458..8c0b049 100644 (file)
--- 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")