From e6fd1d2911c8739ca32462b7f49eee018120601c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=EA=A6=AB=EA=A6=B6=EA=A6=8F=EA=A7=80=EA=A6=A6?= =?UTF-8?q?=EA=A6=BF=EA=A6=A7=EA=A6=AE=EA=A6=91=EA=A6=A9=EA=A6=AD=EA=A7=80?= Date: Thu, 29 Sep 2022 16:49:55 +0800 Subject: X-Shopify-Hmac-SHA256 doesn't use base64url --- shopify.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'shopify.c') diff --git a/shopify.c b/shopify.c index 8c004b3..a97e777 100644 --- a/shopify.c +++ b/shopify.c @@ -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); -- cgit v1.2.3