-/* $OpenBSD: cert.c,v 1.119 2023/10/19 17:05:54 job Exp $ */
+/* $OpenBSD: cert.c,v 1.120 2023/12/10 14:18:23 job Exp $ */
/*
* Copyright (c) 2022 Theo Buehler <tb@openbsd.org>
* Copyright (c) 2021 Job Snijders <job@openbsd.org>
nid = OBJ_obj2nid(cobj);
if (nid == NID_ecdsa_with_SHA256) {
if (verbose)
- warn("%s: P-256 support is experimental", fn);
+ warnx("%s: P-256 support is experimental", fn);
} else if (nid != NID_sha256WithRSAEncryption) {
warnx("%s: RFC 7935: wrong signature algorithm %s, want %s",
fn, OBJ_nid2ln(nid),
-/* $OpenBSD: cms.c,v 1.40 2023/10/19 17:05:54 job Exp $ */
+/* $OpenBSD: cms.c,v 1.41 2023/12/10 14:18:23 job Exp $ */
/*
* Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv>
*
/* RFC7935 last paragraph of section 2 specifies the allowed psig */
if (nid == NID_ecdsa_with_SHA256) {
if (verbose)
- warn("%s: P-256 support is experimental", fn);
+ warnx("%s: P-256 support is experimental", fn);
} else if (nid != NID_rsaEncryption &&
nid != NID_sha256WithRSAEncryption) {
warnx("%s: RFC 6488: wrong signature algorithm %s, want %s",
-/* $OpenBSD: crl.c,v 1.29 2023/11/16 11:17:52 tb Exp $ */
+/* $OpenBSD: crl.c,v 1.30 2023/12/10 14:18:23 job Exp $ */
/*
* Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv>
*
nid = OBJ_obj2nid(cobj);
if (nid == NID_ecdsa_with_SHA256) {
if (verbose)
- warn("%s: P-256 support is experimental", fn);
+ warnx("%s: P-256 support is experimental", fn);
} else if (nid != NID_sha256WithRSAEncryption) {
warnx("%s: RFC 7935: wrong signature algorithm %s, want %s",
fn, OBJ_nid2ln(nid),