summaryrefslogtreecommitdiff
path: root/activitypub.c
diff options
context:
space:
mode:
Diffstat (limited to 'activitypub.c')
-rw-r--r--activitypub.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/activitypub.c b/activitypub.c
index cef5c02..bb68a7d 100644
--- a/activitypub.c
+++ b/activitypub.c
@@ -930,8 +930,13 @@ int process_input_message(snac *snac, char *msg, char *req)
930 } 930 }
931 931
932 /* check the signature */ 932 /* check the signature */
933 if (!check_signature(snac, req)) { 933 xs *sig_err = NULL;
934 snac_log(snac, xs_fmt("bad signature %s", actor)); 934
935 if (!check_signature(snac, req, &sig_err)) {
936 snac_log(snac, xs_fmt("bad signature %s (%s)", actor, sig_err));
937
938 srv_archive_error("check_signature", sig_err, req, msg);
939
935 return 1; 940 return 1;
936 } 941 }
937 942