From: tb Date: Fri, 26 Aug 2022 06:32:03 +0000 (+0000) Subject: Adjust PEM_write_X509() error message and unwrap line. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=7d686ddcfc707a881ae12d23dbae7126daf290fd;p=openbsd Adjust PEM_write_X509() error message and unwrap line. --- diff --git a/regress/usr.sbin/rpki-client/test-gbr.c b/regress/usr.sbin/rpki-client/test-gbr.c index cd72697c000..4366b5c06b4 100644 --- a/regress/usr.sbin/rpki-client/test-gbr.c +++ b/regress/usr.sbin/rpki-client/test-gbr.c @@ -1,4 +1,4 @@ -/* $Id: test-gbr.c,v 1.10 2022/08/26 06:28:41 tb Exp $ */ +/* $Id: test-gbr.c,v 1.11 2022/08/26 06:32:03 tb Exp $ */ /* * Copyright (c) 2019 Kristaps Dzonsons * @@ -78,8 +78,7 @@ main(int argc, char *argv[]) gbr_print(xp, p); if (ppem) { if (!PEM_write_X509(stdout, xp)) - errx(1, - "PEM_write_bio_X509: unable to write cert"); + errx(1, "PEM_write_X509: unable to write cert"); } free(buf); gbr_free(p); diff --git a/regress/usr.sbin/rpki-client/test-mft.c b/regress/usr.sbin/rpki-client/test-mft.c index 1af4c68a379..1d2543208de 100644 --- a/regress/usr.sbin/rpki-client/test-mft.c +++ b/regress/usr.sbin/rpki-client/test-mft.c @@ -1,4 +1,4 @@ -/* $Id: test-mft.c,v 1.21 2022/08/26 06:28:41 tb Exp $ */ +/* $Id: test-mft.c,v 1.22 2022/08/26 06:32:03 tb Exp $ */ /* * Copyright (c) 2019 Kristaps Dzonsons * @@ -80,8 +80,7 @@ main(int argc, char *argv[]) mft_print(xp, p); if (ppem) { if (!PEM_write_X509(stdout, xp)) - errx(1, - "PEM_write_bio_X509: unable to write cert"); + errx(1, "PEM_write_X509: unable to write cert"); } free(buf); mft_free(p); diff --git a/regress/usr.sbin/rpki-client/test-roa.c b/regress/usr.sbin/rpki-client/test-roa.c index da4e874e865..30d778816e2 100644 --- a/regress/usr.sbin/rpki-client/test-roa.c +++ b/regress/usr.sbin/rpki-client/test-roa.c @@ -1,4 +1,4 @@ -/* $Id: test-roa.c,v 1.18 2022/08/26 06:28:41 tb Exp $ */ +/* $Id: test-roa.c,v 1.19 2022/08/26 06:32:03 tb Exp $ */ /* * Copyright (c) 2019 Kristaps Dzonsons * @@ -77,8 +77,7 @@ main(int argc, char *argv[]) roa_print(xp, p); if (ppem) { if (!PEM_write_X509(stdout, xp)) - errx(1, - "PEM_write_bio_X509: unable to write cert"); + errx(1, "PEM_write_X509: unable to write cert"); } free(buf); roa_free(p); diff --git a/regress/usr.sbin/rpki-client/test-rsc.c b/regress/usr.sbin/rpki-client/test-rsc.c index 5c5e66cfe3e..33c449d3bfb 100644 --- a/regress/usr.sbin/rpki-client/test-rsc.c +++ b/regress/usr.sbin/rpki-client/test-rsc.c @@ -1,4 +1,4 @@ -/* $Id: test-rsc.c,v 1.3 2022/08/26 06:28:41 tb Exp $ */ +/* $Id: test-rsc.c,v 1.4 2022/08/26 06:32:03 tb Exp $ */ /* * Copyright (c) 2019 Kristaps Dzonsons * @@ -80,8 +80,7 @@ main(int argc, char *argv[]) rsc_print(xp, p); if (ppem) { if (!PEM_write_X509(stdout, xp)) - errx(1, - "PEM_write_bio_X509: unable to write cert"); + errx(1, "PEM_write_X509: unable to write cert"); } free(buf); rsc_free(p);