From 5a02742c2095e64725e339a979fad399dfa559b4 Mon Sep 17 00:00:00 2001 From: ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ Date: Thu, 22 Sep 2022 22:43:49 +0800 Subject: Make get_hs256 inline --- shopify.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shopify.c b/shopify.c index 6c5175f..59c0038 100644 --- a/shopify.c +++ b/shopify.c @@ -98,7 +98,7 @@ static inline _Bool match(const char *shop) return rc >= 0; } -static void get_hs256(const char *api_secret_key, const char *data, +static inline void get_hs256(const char *api_secret_key, const char *data, const size_t data_len, unsigned char hs256[], size_t *hs256_len) { gcry_mac_hd_t hd; -- cgit v1.3