aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2018-04-15 00:30:32 +0200
committerMatthias Andree <matthias.andree@gmx.de>2018-04-15 00:30:32 +0200
commit80739d3a007a3fb16f56d48c1b9e08b2356d4ce3 (patch)
treef781455e01efa3002ee13ad6aa3c41d61bb2dcf4
parent59e8a055428d93803a210c4aef4ad1cdd3826986 (diff)
downloadfetchmail-80739d3a007a3fb16f56d48c1b9e08b2356d4ce3.tar.gz
fetchmail-80739d3a007a3fb16f56d48c1b9e08b2356d4ce3.tar.bz2
fetchmail-80739d3a007a3fb16f56d48c1b9e08b2356d4ce3.zip
OPIE: Chase to64frombits() API change.
-rw-r--r--opie.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/opie.c b/opie.c
index 26f3c93c..90be8035 100644
--- a/opie.c
+++ b/opie.c
@@ -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;