snac2

Fork of https://codeberg.org/grunfink/snac2
git clone https://git.inz.fi/snac2
Log | Files | Refs | README | LICENSE

commit 8b4dbfd708dc14d0cbe386dbccde6d6280acbf8a
parent f209c3205dccad85ad788cd3044dfe98580e4e19
Author: default <nobody@localhost>
Date:   Mon, 28 Nov 2022 17:54:32 +0100

Deleted dump of debugging code.

Diffstat:
Mactivitypub.c | 8--------
1 file changed, 0 insertions(+), 8 deletions(-)

diff --git 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; }