summaryrefslogtreecommitdiff
path: root/http.c
diff options
context:
space:
mode:
Diffstat (limited to 'http.c')
-rw-r--r--http.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/http.c b/http.c
index 75769f2..6540dcc 100644
--- a/http.c
+++ b/http.c
@@ -132,6 +132,11 @@ int check_signature(snac *snac, xs_dict *req, xs_str **err)
132 char *pubkey; 132 char *pubkey;
133 char *p; 133 char *p;
134 134
135 if (xs_is_null(sig_hdr)) {
136 *err = xs_fmt("missing 'signature' header");
137 return 0;
138 }
139
135 { 140 {
136 /* extract the values */ 141 /* extract the values */
137 xs *l = xs_split(sig_hdr, ","); 142 xs *l = xs_split(sig_hdr, ",");