summaryrefslogtreecommitdiff
path: root/activitypub.c
diff options
context:
space:
mode:
authordefault <nobody@localhost>2023-01-10 18:21:00 +0100
committerdefault <nobody@localhost>2023-01-10 18:21:00 +0100
commit23eb05ee99dace9ba5d828334eac3eccbe1417e4 (patch)
tree823d88e314f5f8029e90eaa4f436af621d2bac19 /activitypub.c
parentd2eae2b369b7ef444ac8a8d92e7dde6e8383a1b3 (diff)
Use the already loaded actor in check_signature().
Diffstat (limited to 'activitypub.c')
-rw-r--r--activitypub.c2
1 files changed, 1 insertions, 1 deletions
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;
}