From 499358e58bac39724a19f4fa03ddd1eb2b58f1d0 Mon Sep 17 00:00:00 2001 From: ueno Date: Thu, 8 Mar 2007 03:04:01 +0000 Subject: [PATCH] Don't parse username as DN in USERID_HINT and IMPORTED status handlers. --- epg.el | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/epg.el b/epg.el index 0b4d7ca..659912a 100644 --- a/epg.el +++ b/epg.el @@ -1199,9 +1199,7 @@ This function is for internal use only." (user-id (match-string 2 string)) (entry (assoc key-id epg-user-id-alist))) (condition-case nil - (if (eq (epg-context-protocol context) 'CMS) - (setq user-id (epg-dn-from-string user-id)) - (setq user-id (epg--decode-coding-string user-id 'utf-8))) + (setq user-id (epg--decode-coding-string user-id 'utf-8)) (error)) (if entry (setcdr entry user-id) @@ -1586,9 +1584,7 @@ This function is for internal use only." (user-id (match-string 2 string)) (entry (assoc key-id epg-user-id-alist))) (condition-case nil - (if (eq (epg-context-protocol context) 'CMS) - (setq user-id (epg-dn-from-string user-id)) - (setq user-id (epg--decode-coding-string user-id 'utf-8))) + (setq user-id (epg--decode-coding-string user-id 'utf-8)) (error)) (if entry (setcdr entry user-id) -- 1.7.10.4