aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2023-08-20 22:04:25 +0200
committerThomas Voss <mail@thomasvoss.com> 2023-08-20 22:04:25 +0200
commitde3d878243988d150e496750595b3f6b08e17483 (patch)
tree22068b344d04a82ba1399062982800ca421b971b /main.c
parent9c1a1cfc44d5ce808e1d2128ab6404927331f3c5 (diff)
Make the ‘b32toa’ dest a uint8_t*
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
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;