diff options
| author | Lars Ingebrigtsen | 2019-09-23 17:34:41 +0200 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2019-09-23 17:34:41 +0200 |
| commit | 3f45c14035ea194e44cf06bf5a416b731fd420a9 (patch) | |
| tree | 597946dd863be754ceffac18a1418de92638b31a /lisp | |
| parent | bdc222b26843cfc49bc1b73369acf27fed3aa133 (diff) | |
| download | emacs-3f45c14035ea194e44cf06bf5a416b731fd420a9.tar.gz emacs-3f45c14035ea194e44cf06bf5a416b731fd420a9.zip | |
Don't bug out on invalid addresses in mml-secure-check-user-id
* lisp/gnus/mml-sec.el (mml-secure-check-user-id): Don't bug out
on invalid addresses (bug#33613).
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/gnus/mml-sec.el | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/gnus/mml-sec.el b/lisp/gnus/mml-sec.el index 716e4b778ec..51578a753da 100644 --- a/lisp/gnus/mml-sec.el +++ b/lisp/gnus/mml-sec.el | |||
| @@ -660,8 +660,9 @@ The passphrase is read and cached." | |||
| 660 | (catch 'break | 660 | (catch 'break |
| 661 | (dolist (uid uids nil) | 661 | (dolist (uid uids nil) |
| 662 | (if (and (stringp (epg-user-id-string uid)) | 662 | (if (and (stringp (epg-user-id-string uid)) |
| 663 | (car (mail-header-parse-address | 663 | (car (ignore-errors |
| 664 | (epg-user-id-string uid))) | 664 | (mail-header-parse-address |
| 665 | (epg-user-id-string uid)))) | ||
| 665 | (equal (downcase (car (mail-header-parse-address | 666 | (equal (downcase (car (mail-header-parse-address |
| 666 | (epg-user-id-string uid)))) | 667 | (epg-user-id-string uid)))) |
| 667 | (downcase (car (mail-header-parse-address | 668 | (downcase (car (mail-header-parse-address |