From a3d2c99cd942fd8c5b692acb72e25c26ad838329 Mon Sep 17 00:00:00 2001 From: job Date: Thu, 7 Oct 2021 11:18:54 +0000 Subject: [PATCH] Clarify error message OK benno@ --- usr.sbin/rpki-client/cert.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.sbin/rpki-client/cert.c b/usr.sbin/rpki-client/cert.c index 943960a94c2..71d7480bb24 100644 --- a/usr.sbin/rpki-client/cert.c +++ b/usr.sbin/rpki-client/cert.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cert.c,v 1.34 2021/10/07 08:30:39 claudio Exp $ */ +/* $OpenBSD: cert.c,v 1.35 2021/10/07 11:18:54 job Exp $ */ /* * Copyright (c) 2019 Kristaps Dzonsons * @@ -1126,7 +1126,7 @@ cert_parse_inner(X509 **xp, const char *fn, int ta) */ if (X509_up_ref(x) == 0) - errx(1, "king bula"); + errx(1, "%s: X509_up_ref failed", __func__); p.res->x509 = x; -- 2.20.1