head 1.1; access; symbols; locks; strict; comment @ * @; 1.1 date 2026.10.15.19.51.20; author tm; state Exp; branches; next ; commitid U025c9HDhjyXTBZG; desc @@ 1.1 log @libspf2: add patch for longer TXT/SPF records @ text @$NetBSD$ Resize MAX_MECH_LEN for longer TXT/SPF records, especially multiple includes and ip6 addresses. diff --git a/src/include/spf_record.h b/src/include/spf_record.h index 00c337a..f273cce 100644 --- src/include/spf_record.h.orig +++ src/include/spf_record.h @@@@ -74,7 +74,7 @@@@ typedef struct SPF_macro_struct SPF_macro_t; /* SPF_mod_t.name_len and */ /* SPF_mod_t.data_len */ -#define SPF_MAX_MECH_LEN 511 +#define SPF_MAX_MECH_LEN 8192 #define SPF_MAX_MOD_LEN 511 @