commit 6d309264f67e1e7c6370d89288440e45ec14e244 from: Kirill A. Korinsky date: Mon Jun 2 19:57:36 2025 UTC Do not treat ar_h_errno == NO_DATA as error OpenBSD's asr returns ar_h_errno == NO_DATA when it had a fallback from UDP to TCP, so I should tolerate it as well. commit - ede84c7b5bbaa959daa89ecf641dffe190a7a076 commit + 6d309264f67e1e7c6370d89288440e45ec14e244 blob - 0b1f6d3096d21297377841d5a823b5c1b2c83f2d blob + 9824cc4dddf10271ef4b2739d74d3a0c1cf946d1 --- main.c +++ main.c @@ -1127,7 +1127,7 @@ dkim_rr_resolve(struct asr_result *ar, void *arg) hstrerror(ar->ar_h_errno)); goto verify; } - if (ar->ar_h_errno != NETDB_SUCCESS) { + if (ar->ar_h_errno == HOST_NOT_FOUND) { dkim_signature_state(sig, DKIM_PERMERROR, hstrerror(ar->ar_h_errno)); goto verify;