summaryrefslogtreecommitdiff
path: root/http.c
diff options
context:
space:
mode:
authordefault <nobody@localhost>2023-01-09 08:11:29 +0100
committerdefault <nobody@localhost>2023-01-09 08:11:29 +0100
commitf5ac531c923bbe0a779fa9c5688ff20b43130359 (patch)
tree2da4f062744f7869fcb926af8702bc891603b7f8 /http.c
parentd4e7df4c2163a54a35bf68a0731ab685c3d47993 (diff)
Log check_signature() errors.
Diffstat (limited to 'http.c')
-rw-r--r--http.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/http.c b/http.c
index 97154d3..d01284c 100644
--- a/http.c
+++ b/http.c
@@ -217,6 +217,8 @@ int check_signature(snac *snac, char *req)
xs *err = NULL;
if ((ret = _check_signature(snac, req, &err)) == 0) {
+ snac_debug(snac, 1, xs_fmt("check_signature %s", err));
+
xs *ntid = tid(0);
xs *fn = xs_fmt("%s/error/check_signature_%s", srv_basedir, ntid);
FILE *f;