diff options
Diffstat (limited to 'src/libserver/http/http_connection.c')
-rw-r--r-- | src/libserver/http/http_connection.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libserver/http/http_connection.c b/src/libserver/http/http_connection.c index 28a13f7ba..4e880f216 100644 --- a/src/libserver/http/http_connection.c +++ b/src/libserver/http/http_connection.c @@ -155,7 +155,7 @@ rspamd_http_parse_key (rspamd_ftok_t *data, struct rspamd_http_connection *conn, eq_pos = memchr (data->begin, '=', data->len); if (eq_pos != NULL) { decoded_id = rspamd_decode_base32 (data->begin, eq_pos - data->begin, - &id_len); + &id_len, RSPAMD_BASE32_DEFAULT); if (decoded_id != NULL && id_len >= RSPAMD_KEYPAIR_SHORT_ID_LEN) { pk = rspamd_pubkey_from_base32 (eq_pos + 1, |