diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2022-08-26 06:32:04 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2022-08-26 06:32:04 +0000 |
commit | b12c312f4f53f848b6c31b255e0dbcc36a0b6fb0 (patch) | |
tree | 4fcfa67e7bb881da144ab153a2d2c1b5a18d1bb5 /regress/usr.sbin/rpki-client | |
parent | 922f8a4fa03c4c7d70563e484e986cab12233d8b (diff) |
Adjust PEM_write_X509() error message and unwrap line.
Diffstat (limited to 'regress/usr.sbin/rpki-client')
-rw-r--r-- | regress/usr.sbin/rpki-client/test-gbr.c | 5 | ||||
-rw-r--r-- | regress/usr.sbin/rpki-client/test-mft.c | 5 | ||||
-rw-r--r-- | regress/usr.sbin/rpki-client/test-roa.c | 5 | ||||
-rw-r--r-- | regress/usr.sbin/rpki-client/test-rsc.c | 5 |
4 files changed, 8 insertions, 12 deletions
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 <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); 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 <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); 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 <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); 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 <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); |