]> git.ipfire.org Git - thirdparty/rspamd.git/commit
[Fix] Fix compiler warnings in lua_logger and dkim modules
authorVsevolod Stakhov <vsevolod@rspamd.com>
Thu, 16 Oct 2025 07:38:19 +0000 (08:38 +0100)
committerVsevolod Stakhov <vsevolod@rspamd.com>
Thu, 16 Oct 2025 07:38:19 +0000 (08:38 +0100)
commit6f46ca6dae534e45f28e7fb84f8ef4dd418a8eee
tree2b626dd35d51ccf81ed1c9609f70675af2e75b2c
parentc7d974359785f291a0c7ef5b2afbd69208da89c5
[Fix] Fix compiler warnings in lua_logger and dkim modules

Fixed incompatible pointer type warnings in lua_logger.c when converting
strings to integers by using gulong/glong types matching rspamd_strtoul/
rspamd_strtol function signatures.

Fixed enum type mismatch in dkim.c by adding RSPAMD_DKIM_KEY_INVALID to
rspamd_dkim_key_type enum and handling it in the verification switch.
src/libserver/dkim.c
src/libserver/dkim.h
src/lua/lua_logger.c