diff options
author | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2022-09-22 22:43:49 +0800 |
---|---|---|
committer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2022-09-22 22:43:49 +0800 |
commit | 5a02742c2095e64725e339a979fad399dfa559b4 (patch) | |
tree | c6ca40309fc4eb36136c5700a1d5eb3bb8e54d25 | |
parent | 02ac0da7e93b9ac19f8c7cf9a84558b192375754 (diff) |
Make get_hs256 inline
-rw-r--r-- | shopify.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |