diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2023-06-29 10:28:26 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2023-06-29 10:28:26 +0000 |
commit | 2a5fe696b0ba7968e570b2469fde2342dabf229a (patch) | |
tree | 83f9407cf0dbde2967f14b63db0f1340a06fdb9f /usr.sbin/rpki-client/parser.c | |
parent | 6fbd48a78081da10d29d42321f6d2dbcdbfd597b (diff) |
Retire log.c
Convert all cryptowarnx() and cryptoerrx() to appropriate versions of
warn() and err{,x}(). Neither users nor developers benefit from them.
If we need better errors, we need to do some thinking. libcrypto won't
do that for us.
suggested by claudio
ok job
Diffstat (limited to 'usr.sbin/rpki-client/parser.c')
-rw-r--r-- | usr.sbin/rpki-client/parser.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/rpki-client/parser.c b/usr.sbin/rpki-client/parser.c index 107375fc2ce..9084c2fc7ae 100644 --- a/usr.sbin/rpki-client/parser.c +++ b/usr.sbin/rpki-client/parser.c @@ -1,4 +1,4 @@ -/* $OpenBSD: parser.c,v 1.96 2023/05/30 16:02:28 job Exp $ */ +/* $OpenBSD: parser.c,v 1.97 2023/06/29 10:28:25 tb Exp $ */ /* * Copyright (c) 2019 Claudio Jeker <claudio@openbsd.org> * Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv> @@ -815,7 +815,7 @@ proc_parser(int fd) x509_init_oid(); if ((ctx = X509_STORE_CTX_new()) == NULL) - cryptoerrx("X509_STORE_CTX_new"); + err(1, "X509_STORE_CTX_new"); TAILQ_INIT(&q); |