diff options
author | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2022-09-29 16:49:55 +0800 |
---|---|---|
committer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2022-09-29 16:49:55 +0800 |
commit | e6fd1d2911c8739ca32462b7f49eee018120601c (patch) | |
tree | f4faab53bdd6096b9772f0c6f546674d9ab27da9 /shopify.c | |
parent | 90f965d32d37f12a26eb6f08355f959ad19bd1cc (diff) |
X-Shopify-Hmac-SHA256 doesn't use base64url
Diffstat (limited to 'shopify.c')
-rw-r--r-- | shopify.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -434,7 +434,7 @@ static enum MHD_Result handle_request(void *cls, struct MHD_Connection *con, *upload_data_size, hs256, &hs256_len); char *digest; size_t digest_len; - l8w8jwt_base64_encode(1, hs256, hs256_len, &digest, + l8w8jwt_base64_encode(0, hs256, hs256_len, &digest, &digest_len); if (strncmp(hmacsha256, digest, digest_len)) { free(hmacsha256); |