From de3d878243988d150e496750595b3f6b08e17483 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Sun, 20 Aug 2023 22:04:25 +0200 Subject: Make the ‘b32toa’ dest a uint8_t* MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main.c') diff --git a/main.c b/main.c index a69c7dd..d7d3d2d 100644 --- a/main.c +++ b/main.c @@ -186,7 +186,7 @@ bool totp(struct totp_config conf, uint32_t *code) { int off; - char *key; + uint8_t *key; uchar *mac; time_t epoch; size_t keylen; -- cgit v1.2.3