diff options
Diffstat (limited to 'http.c')
| -rw-r--r-- | http.c | 10 |
1 files changed, 5 insertions, 5 deletions
| @@ -123,19 +123,19 @@ static int _check_signature(snac *snac, char *req, char **err) | |||
| 123 | p = l; | 123 | p = l; |
| 124 | while (xs_list_iter(&p, &v)) { | 124 | while (xs_list_iter(&p, &v)) { |
| 125 | if (xs_startswith(v, "keyId")) | 125 | if (xs_startswith(v, "keyId")) |
| 126 | keyId = xs_crop(xs_dup(v), 7, -1); | 126 | keyId = xs_crop_i(xs_dup(v), 7, -1); |
| 127 | else | 127 | else |
| 128 | if (xs_startswith(v, "headers")) | 128 | if (xs_startswith(v, "headers")) |
| 129 | headers = xs_crop(xs_dup(v), 9, -1); | 129 | headers = xs_crop_i(xs_dup(v), 9, -1); |
| 130 | else | 130 | else |
| 131 | if (xs_startswith(v, "signature")) | 131 | if (xs_startswith(v, "signature")) |
| 132 | signature = xs_crop(xs_dup(v), 11, -1); | 132 | signature = xs_crop_i(xs_dup(v), 11, -1); |
| 133 | else | 133 | else |
| 134 | if (xs_startswith(v, "created")) | 134 | if (xs_startswith(v, "created")) |
| 135 | created = xs_crop(xs_dup(v), 9, -1); | 135 | created = xs_crop_i(xs_dup(v), 9, -1); |
| 136 | else | 136 | else |
| 137 | if (xs_startswith(v, "expires")) | 137 | if (xs_startswith(v, "expires")) |
| 138 | expires = xs_crop(xs_dup(v), 9, -1); | 138 | expires = xs_crop_i(xs_dup(v), 9, -1); |
| 139 | } | 139 | } |
| 140 | } | 140 | } |
| 141 | 141 | ||