summaryrefslogtreecommitdiff
path: root/usr.sbin/rpki-client/mft.c
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2022-06-10 10:41:10 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2022-06-10 10:41:10 +0000
commitbc2de143eac8e86dacd6c8c94f057b85ad53584b (patch)
tree869903a2bfe7a2ee8d5c513ae5306f5c3a47544a /usr.sbin/rpki-client/mft.c
parent9fd9d709995ce62e2d48bb7b44f10f404d887756 (diff)
Unify error messages on d2i failure for econtent
Diffstat (limited to 'usr.sbin/rpki-client/mft.c')
-rw-r--r--usr.sbin/rpki-client/mft.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/rpki-client/mft.c b/usr.sbin/rpki-client/mft.c
index 4dfb08050ed..deca26d965e 100644
--- a/usr.sbin/rpki-client/mft.c
+++ b/usr.sbin/rpki-client/mft.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mft.c,v 1.71 2022/06/10 10:36:43 tb Exp $ */
+/* $OpenBSD: mft.c,v 1.72 2022/06/10 10:41:09 tb Exp $ */
/*
* Copyright (c) 2022 Theo Buehler <tb@openbsd.org>
* Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv>
@@ -273,8 +273,8 @@ mft_parse_econtent(const unsigned char *d, size_t dsz, struct parse *p)
int i, rc = 0;
if ((mft = d2i_Manifest(NULL, &d, dsz)) == NULL) {
- cryptowarnx("%s: RFC 6486 section 4.2: Manifest: "
- "failed ASN.1 sequence parse", p->fn);
+ cryptowarnx("%s: RFC 6486 section 4: failed to parse Manifest",
+ p->fn);
goto out;
}