Adjust PEM_write_X509() error message and unwrap line.
authortb <tb@openbsd.org>
Fri, 26 Aug 2022 06:32:03 +0000 (06:32 +0000)
committertb <tb@openbsd.org>
Fri, 26 Aug 2022 06:32:03 +0000 (06:32 +0000)
regress/usr.sbin/rpki-client/test-gbr.c
regress/usr.sbin/rpki-client/test-mft.c
regress/usr.sbin/rpki-client/test-roa.c
regress/usr.sbin/rpki-client/test-rsc.c

index cd72697..4366b5c 100644 (file)
@@ -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 <kristaps@bsd.lv>
  *
@@ -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);
index 1af4c68..1d25432 100644 (file)
@@ -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 <kristaps@bsd.lv>
  *
@@ -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);
index da4e874..30d7788 100644 (file)
@@ -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 <kristaps@bsd.lv>
  *
@@ -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);
index 5c5e66c..33c449d 100644 (file)
@@ -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 <kristaps@bsd.lv>
  *
@@ -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);