diff options
author | Matthias Andree <matthias.andree@gmx.de> | 2010-03-19 00:07:08 +0100 |
---|---|---|
committer | Matthias Andree <matthias.andree@gmx.de> | 2010-03-19 00:07:08 +0100 |
commit | 9c10d69f36fed4962354b7a38261fe47f154ba2b (patch) | |
tree | 0cbbab94f893644ca88438c361025733dd917bbd /cram.c | |
parent | 8e4bfa7520c919ec2a7b00067c3348f0d1c73c8d (diff) | |
download | fetchmail-9c10d69f36fed4962354b7a38261fe47f154ba2b.tar.gz fetchmail-9c10d69f36fed4962354b7a38261fe47f154ba2b.tar.bz2 fetchmail-9c10d69f36fed4962354b7a38261fe47f154ba2b.zip |
Fix MD5 compile on Solaris.
Diffstat (limited to 'cram.c')
-rw-r--r-- | cram.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -18,7 +18,7 @@ #include "fm_md5.h" void hmac_md5 (const unsigned char *password, size_t pass_len, - const char *challenge, size_t chal_len, + const unsigned char *challenge, size_t chal_len, unsigned char *response, size_t resp_len) { int i; @@ -111,7 +111,7 @@ int do_cram_md5 (int sock, const char *command, struct query *ctl, const char *s */ hmac_md5((unsigned char *)ctl->password, strlen(ctl->password), - msg_id, strlen (msg_id), + (unsigned char *)msg_id, strlen (msg_id), response, sizeof (response)); snprintf (reply, sizeof(reply), |