aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Josefsson2004-12-27 11:30:04 +0000
committerSimon Josefsson2004-12-27 11:30:04 +0000
commit8ffc3990aed5a642b8d572bb606f99e274fbed26 (patch)
treed96816b80f67a04203245350226b45b8f87fa75f
parente314a6e4fe9d6d75c789d3efe84423738b8ef0d6 (diff)
downloademacs-8ffc3990aed5a642b8d572bb606f99e274fbed26.tar.gz
emacs-8ffc3990aed5a642b8d572bb606f99e274fbed26.zip
mail/smtpmail.el (smtpmail-try-auth-methods): Send AUTH CRAM-MD5
in upper case. Reported by Wojciech Polak <polak@gnu.org> and tiny patch from Sergey Poznyakoff.
-rw-r--r--lisp/ChangeLog6
-rw-r--r--lisp/mail/smtpmail.el2
2 files changed, 7 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 42fdf4869f9..c75197e316d 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,9 @@
12004-12-27 Simon Josefsson <jas@extundo.com>
2
3 * mail/smtpmail.el (smtpmail-try-auth-methods): Send AUTH CRAM-MD5
4 in upper case. Reported by Wojciech Polak <polak@gnu.org> and
5 tiny patch from Sergey Poznyakoff.
6
12004-12-27 Kenichi Handa <handa@m17n.org> 72004-12-27 Kenichi Handa <handa@m17n.org>
2 8
3 * international/utf-8.el (utf-translate-cjk-load-tables): Bind 9 * international/utf-8.el (utf-translate-cjk-load-tables): Bind
diff --git a/lisp/mail/smtpmail.el b/lisp/mail/smtpmail.el
index d356979ea26..57443abd459 100644
--- a/lisp/mail/smtpmail.el
+++ b/lisp/mail/smtpmail.el
@@ -523,7 +523,7 @@ This is relative to `smtpmail-queue-dir'.")
523 (when (and cred mech) 523 (when (and cred mech)
524 (cond 524 (cond
525 ((eq mech 'cram-md5) 525 ((eq mech 'cram-md5)
526 (smtpmail-send-command process (format "AUTH %s" mech)) 526 (smtpmail-send-command process (format "AUTH %s" (upcase mech)))
527 (if (or (null (car (setq ret (smtpmail-read-response process)))) 527 (if (or (null (car (setq ret (smtpmail-read-response process))))
528 (not (integerp (car ret))) 528 (not (integerp (car ret)))
529 (>= (car ret) 400)) 529 (>= (car ret) 400))