From 80739d3a007a3fb16f56d48c1b9e08b2356d4ce3 Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Sun, 15 Apr 2018 00:30:32 +0200 Subject: OPIE: Chase to64frombits() API change. --- opie.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'opie.c') 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; -- cgit v1.2.3