diff options
-rw-r--r-- | driver.c | 2 | ||||
-rw-r--r-- | fetchmail.h | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -1631,7 +1631,7 @@ const int maxfetch; /* maximum number of messages to fetch */ if (protocol->getauth) { if (protocol->password_canonify) - (protocol->password_canonify)(shroud, ctl->password); + (protocol->password_canonify)(shroud, ctl->password, PASSWORDLEN); else strcpy(shroud, ctl->password); diff --git a/fetchmail.h b/fetchmail.h index 65ea3d43..401db928 100644 --- a/fetchmail.h +++ b/fetchmail.h @@ -148,7 +148,7 @@ struct method /* describe methods for protocol state machine */ flag delimited; /* if true, accept "." message delimiter */ int (*parse_response)(int, char *); /* response_parsing function */ - int (*password_canonify)(char *, char *); + int (*password_canonify)(char *, char *, int); /* canonicalize password */ int (*getauth)(int, struct query *, char *); /* authorization fetcher */ |