From 23eb05ee99dace9ba5d828334eac3eccbe1417e4 Mon Sep 17 00:00:00 2001 From: default Date: Tue, 10 Jan 2023 18:21:00 +0100 Subject: Use the already loaded actor in check_signature(). --- activitypub.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activitypub.c') diff --git a/activitypub.c b/activitypub.c index ba4f594..7e208b6 100644 --- a/activitypub.c +++ b/activitypub.c @@ -839,7 +839,7 @@ int process_message(snac *snac, char *msg, char *req) } /* check the signature */ - if (!check_signature(snac, req)) { + if (!check_signature(snac, req, actor_o)) { snac_log(snac, xs_fmt("bad signature")); return 1; } -- cgit v1.2.3