Skip to content

Commit

Permalink
dkimf_config_load: skip consistency check for signing table if the db
Browse files Browse the repository at this point in the history
does not support db walk operation

* opendkim/opendkim.c (dkimf_config_load): As above
  • Loading branch information
futatuki committed Oct 4, 2024
1 parent 3c60fa8 commit 565d38c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion opendkim/opendkim.c
Original file line number Diff line number Diff line change
Expand Up @@ -8323,7 +8323,8 @@ dkimf_config_load(struct config *data, struct dkimf_config *conf,
** missing KeyTable entries.
*/

if (conf->conf_signtabledb != NULL)
if (conf->conf_signtabledb != NULL &&
dkimf_can_db_walk(conf->conf_signtabledb))
{
_Bool first = TRUE;
_Bool found;
Expand Down

0 comments on commit 565d38c

Please sign in to comment.