diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1999-09-20 16:11:38 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1999-09-20 16:11:38 +0000 |
commit | eb1b8fb6779d71fbe8c23156d4773e56f7d2fe67 (patch) | |
tree | bfb0a18141eec7c52340d54b33ef9c8aae0f421c /imap.c | |
parent | 3ba45411cdea11f6d47e3c0bc3ff6a8795be726e (diff) | |
download | fetchmail-eb1b8fb6779d71fbe8c23156d4773e56f7d2fe67.tar.gz fetchmail-eb1b8fb6779d71fbe8c23156d4773e56f7d2fe67.tar.bz2 fetchmail-eb1b8fb6779d71fbe8c23156d4773e56f7d2fe67.zip |
Add comment.
svn path=/trunk/; revision=2566
Diffstat (limited to 'imap.c')
-rw-r--r-- | imap.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -787,6 +787,14 @@ static int do_cram_md5 (int sock, struct query *ctl) * computed by applying the keyed MD5 algorithm from [KEYED-MD5] where * the key is a shared secret and the digested text is the timestamp * (including angle-brackets). + * + * If the usename has a space in it, it's surrounded by string quotes + * before being shipped. This is not in conformance with the CRAM-MD5 + * RFCs (which don't describe any kind of quoting and imply that the + * username must be a single token), but at least one server accepts + * it anyway (the greeting line says "InterChange IMAP4 Server v3.51.06"). + * If this doesn't work, sending the unquoted name wouldn't have worked + * either, so we lost nothing. */ hmac_md5 (ctl->password, strlen (ctl->password), |