-/* $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>
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;
}
-/* $OpenBSD: rsc.c,v 1.11 2022/06/10 10:36:43 tb Exp $ */
+/* $OpenBSD: rsc.c,v 1.12 2022/06/10 10:41:09 tb Exp $ */
/*
* Copyright (c) 2022 Theo Buehler <tb@openbsd.org>
* Copyright (c) 2022 Job Snijders <job@fastly.com>
*/
if ((rsc = d2i_RpkiSignedChecklist(NULL, &d, dsz)) == NULL) {
- cryptowarnx("%s: RSC: failed ASN.1 decode", p->fn);
+ cryptowarnx("%s: RSC: failed to parse RpkiSignedChecklist",
+ p->fn);
goto out;
}