commit 8b4dbfd
default
·
2022-11-28 16:54:32 +0000 UTC
parent f209c32
Deleted dump of debugging code.
1 files changed,
+0,
-8
+0,
-8
1@@ -805,14 +805,6 @@ int process_message(snac *snac, char *msg, char *req)
2
3 /* check the signature */
4 if (!check_signature(snac, req)) {
5- {
6- xs *j = xs_json_dumps_pp(req, 4);
7- FILE *f;
8- if ((f = fopen("/tmp/snac-bad-signature.json", "w")) != NULL) {
9- fwrite(j, strlen(j), 1, f);
10- fclose(f);
11- }
12- }
13 snac_log(snac, xs_fmt("bad signature"));
14 return 1;
15 }