summaryrefslogtreecommitdiffstats
path: root/imap/auth.c
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>1999-10-04 10:00:16 +0000
committerThomas Roessler <roessler@does-not-exist.org>1999-10-04 10:00:16 +0000
commitadb589867c4f383061f57333af8379853c75976a (patch)
tree5d4a8cd75063d7038d86dbd512957b2772d96f3e /imap/auth.c
parent90a652416776caecc002132930c113b667cf2315 (diff)
Some fixes from Brendan Cully.
Diffstat (limited to 'imap/auth.c')
-rw-r--r--imap/auth.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/imap/auth.c b/imap/auth.c
index 571ebca3..a853743b 100644
--- a/imap/auth.c
+++ b/imap/auth.c
@@ -360,7 +360,10 @@ static int imap_auth_cram_md5 (IMAP_DATA* idata, const char* user,
* key is a shared secret and the digested text is the timestamp (including
* angle-brackets).
*
- * (Note: it's unspecified whether the user name needs IMAP quoting.)
+ * Note: The user name shouldn't be quoted. Since the digest can't contain
+ * spaces, there is no ambiguity. Some servers get this wrong, we'll work
+ * around them when the bug report comes in. Until then, we'll remain
+ * blissfully RFC-compliant.
*/
hmac_md5 (pass, obuf, hmac_response);
dprint (2, (debugfile, "CRAM response: %s,[%s]->", obuf, pass));