diff --git a/libopenarc/arc.c b/libopenarc/arc.c index 1c6c9ded..e2622427 100644 --- a/libopenarc/arc.c +++ b/libopenarc/arc.c @@ -3213,8 +3213,12 @@ arc_getseal(ARC_MESSAGE *msg, ARC_HDRFIELD **seal, char *authservid, arc_dstring_printf(dstr, "ARC-Authentication-Results:i=%u; %s", msg->arc_nsets + 1, msg->arc_authservid); - if (ar != NULL) + if (ar == NULL) { + /* no-result per RFC 8601 2.2 */ + arc_dstring_printf(dstr, "; none"); + } else { arc_dstring_printf(dstr, "; %s", (char *) ar); + } status = arc_parse_header_field(msg, arc_dstring_get(dstr), arc_dstring_len(dstr), &h);