diff options
| author | Matthias Andree <matthias.andree@gmx.de> | 2018-04-15 00:30:32 +0200 |
|---|---|---|
| committer | Matthias Andree <matthias.andree@gmx.de> | 2018-04-15 00:30:32 +0200 |
| commit | 80739d3a007a3fb16f56d48c1b9e08b2356d4ce3 (patch) | |
| tree | f781455e01efa3002ee13ad6aa3c41d61bb2dcf4 | |
| parent | 59e8a055428d93803a210c4aef4ad1cdd3826986 (diff) | |
| download | fetchmail-80739d3a007a3fb16f56d48c1b9e08b2356d4ce3.tar.gz fetchmail-80739d3a007a3fb16f56d48c1b9e08b2356d4ce3.tar.bz2 fetchmail-80739d3a007a3fb16f56d48c1b9e08b2356d4ce3.zip | |
OPIE: Chase to64frombits() API change.
| -rw-r--r-- | opie.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -43,7 +43,7 @@ int do_otp(int sock, const char *command, struct query *ctl) return PS_AUTHFAIL; } - to64frombits(buffer, ctl->remotename, strlen(ctl->remotename)); + to64frombits(buffer, ctl->remotename, strlen(ctl->remotename), sizeof buffer); suppress_tags = TRUE; gen_send(sock, "%s", buffer); suppress_tags = FALSE; @@ -70,7 +70,7 @@ int do_otp(int sock, const char *command, struct query *ctl) if (rval) return(PS_AUTHFAIL); - to64frombits(buffer, response, strlen(response)); + to64frombits(buffer, response, strlen(response), sizeof buffer); suppress_tags = TRUE; gen_send(sock, "%s", buffer); suppress_tags = FALSE; |
