projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rocco Rutte:
[apps/madmutt.git]
/
imap
/
auth_cram.c
diff --git
a/imap/auth_cram.c
b/imap/auth_cram.c
index
3c9b5be
..
003e20d
100644
(file)
--- a/
imap/auth_cram.c
+++ b/
imap/auth_cram.c
@@
-98,7
+98,7
@@
imap_auth_res_t imap_auth_cram_md5 (IMAP_DATA * idata, const char *method)
*/
mutt_to_base64 ((unsigned char *) ibuf, (unsigned char *) obuf,
*/
mutt_to_base64 ((unsigned char *) ibuf, (unsigned char *) obuf,
- strlen (obuf), sizeof (ibuf) - 2);
+
mutt_
strlen (obuf), sizeof (ibuf) - 2);
safe_strcat (ibuf, sizeof (ibuf), "\r\n");
mutt_socket_write (idata->conn, ibuf);
safe_strcat (ibuf, sizeof (ibuf), "\r\n");
mutt_socket_write (idata->conn, ibuf);
@@
-131,8
+131,8
@@
static void hmac_md5 (const char *password, char *challenge,
unsigned int secret_len, chal_len;
int i;
unsigned int secret_len, chal_len;
int i;
- secret_len = strlen (password);
- chal_len = strlen (challenge);
+ secret_len =
mutt_
strlen (password);
+ chal_len =
mutt_
strlen (challenge);
/* passwords longer than MD5_BLOCK_LEN bytes are substituted with their MD5
* digests */
/* passwords longer than MD5_BLOCK_LEN bytes are substituted with their MD5
* digests */