Fix warning about delta element issues in the Update Notification File XML
authorjob <job@openbsd.org>
Fri, 12 Apr 2024 11:50:29 +0000 (11:50 +0000)
committerjob <job@openbsd.org>
Fri, 12 Apr 2024 11:50:29 +0000 (11:50 +0000)
OK tb@

usr.sbin/rpki-client/rrdp_notification.c

index 310ba99..1d3e149 100644 (file)
@@ -1,4 +1,4 @@
-/*     $OpenBSD: rrdp_notification.c,v 1.20 2024/03/22 03:38:12 job Exp $ */
+/*     $OpenBSD: rrdp_notification.c,v 1.21 2024/04/12 11:50:29 job Exp $ */
 /*
  * Copyright (c) 2020 Nils Fisher <nils_fisher@hotmail.com>
  * Copyright (c) 2021 Claudio Jeker <claudio@openbsd.org>
@@ -294,7 +294,7 @@ start_delta_elem(struct notification_xml *nxml, const char **attr)
                                continue;
                }
                PARSE_FAIL(p, "parse failed - non conforming "
-                   "attribute '%s' found in snapshot elem", attr[i]);
+                   "attribute '%s' found in delta elem", attr[i]);
        }
        /* Only add to the list if we are relevant */
        if (hasUri != 1 || hasHash != 1 || delta_serial == 0)