From: job Date: Fri, 4 Nov 2022 09:45:19 +0000 (+0000) Subject: Don't show CPS URIs when in filemode X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=8eb56b7e496f735b03d6d823aa5fa136de3f2782;p=openbsd Don't show CPS URIs when in filemode OK tb@ --- diff --git a/usr.sbin/rpki-client/cert.c b/usr.sbin/rpki-client/cert.c index cdd45e2ee1d..32a9a255b73 100644 --- a/usr.sbin/rpki-client/cert.c +++ b/usr.sbin/rpki-client/cert.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cert.c,v 1.92 2022/11/03 10:39:19 job Exp $ */ +/* $OpenBSD: cert.c,v 1.93 2022/11/04 09:45:19 job Exp $ */ /* * Copyright (c) 2022 Theo Buehler * Copyright (c) 2021 Job Snijders @@ -560,7 +560,7 @@ certificate_policies(struct parse *p, X509_EXTENSION *ext) goto out; } - if (verbose > 1) + if (verbose > 1 && !filemode) warnx("%s: CPS %.*s", p->fn, qualifier->d.cpsuri->length, qualifier->d.cpsuri->data);