diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-07-16 18:21:51 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-07-16 18:21:51 +0100 |
commit | 80bbb6bf904499490d1d7879bbedbf46b0b7632d (patch) | |
tree | 1a62702dd1afcbc35cc23f1697c4bae89ca5e7b6 /src/lua/lua_map.c | |
parent | c558398b7bfb8d5ceb1d4148130f8b39d438833d (diff) | |
download | rspamd-80bbb6bf904499490d1d7879bbedbf46b0b7632d.tar.gz rspamd-80bbb6bf904499490d1d7879bbedbf46b0b7632d.zip |
[Rework] Stop support of signed HTTP maps to simplify code
Diffstat (limited to 'src/lua/lua_map.c')
-rw-r--r-- | src/lua/lua_map.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua/lua_map.c b/src/lua/lua_map.c index b28543c07..bead7ae4a 100644 --- a/src/lua/lua_map.c +++ b/src/lua/lua_map.c @@ -997,7 +997,7 @@ lua_map_is_signed (lua_State *L) if (map->map) { for (i = 0; i < map->map->backends->len; i ++) { bk = g_ptr_array_index (map->map->backends, i); - if (bk->is_signed) { + if (bk->is_signed && bk->protocol == MAP_PROTO_FILE) { ret = TRUE; break; } |