summaryrefslogtreecommitdiff
path: root/activitypub.c
diff options
context:
space:
mode:
Diffstat (limited to 'activitypub.c')
-rw-r--r--activitypub.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/activitypub.c b/activitypub.c
index 1e4130c..f23c5e0 100644
--- a/activitypub.c
+++ b/activitypub.c
@@ -805,14 +805,6 @@ int process_message(snac *snac, char *msg, char *req)
/* check the signature */
if (!check_signature(snac, req)) {
- {
- xs *j = xs_json_dumps_pp(req, 4);
- FILE *f;
- if ((f = fopen("/tmp/snac-bad-signature.json", "w")) != NULL) {
- fwrite(j, strlen(j), 1, f);
- fclose(f);
- }
- }
snac_log(snac, xs_fmt("bad signature"));
return 1;
}