diff options
| author | 2022-11-28 17:54:32 +0100 | |
|---|---|---|
| committer | 2022-11-28 17:54:32 +0100 | |
| commit | 8b4dbfd708dc14d0cbe386dbccde6d6280acbf8a (patch) | |
| tree | ec5a820d1b9a06df70899f9298ff57ab2e08ff36 /activitypub.c | |
| parent | Use xs_set in recipient_list() and inbox_list(). (diff) | |
| download | snac2-8b4dbfd708dc14d0cbe386dbccde6d6280acbf8a.tar.gz snac2-8b4dbfd708dc14d0cbe386dbccde6d6280acbf8a.tar.xz snac2-8b4dbfd708dc14d0cbe386dbccde6d6280acbf8a.zip | |
Deleted dump of debugging code.
Diffstat (limited to 'activitypub.c')
| -rw-r--r-- | activitypub.c | 8 |
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) | |||
| 805 | 805 | ||
| 806 | /* check the signature */ | 806 | /* check the signature */ |
| 807 | if (!check_signature(snac, req)) { | 807 | if (!check_signature(snac, req)) { |
| 808 | { | ||
| 809 | xs *j = xs_json_dumps_pp(req, 4); | ||
| 810 | FILE *f; | ||
| 811 | if ((f = fopen("/tmp/snac-bad-signature.json", "w")) != NULL) { | ||
| 812 | fwrite(j, strlen(j), 1, f); | ||
| 813 | fclose(f); | ||
| 814 | } | ||
| 815 | } | ||
| 816 | snac_log(snac, xs_fmt("bad signature")); | 808 | snac_log(snac, xs_fmt("bad signature")); |
| 817 | return 1; | 809 | return 1; |
| 818 | } | 810 | } |