diff options
author | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2017-11-27 23:05:51 +0000 |
---|---|---|
committer | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2017-11-27 23:05:51 +0000 |
commit | a5a8f77f53e745f4017f05a79b54289e2036fd1c (patch) | |
tree | 9a33ef3b3c99a618f048e6fa0951df060b0268d2 /usr.sbin/relayd | |
parent | d67535b7fcef2f6f465baa8aae0d46eb159b9522 (diff) |
Make ca_launch error messages unique.
OK claudio@
Diffstat (limited to 'usr.sbin/relayd')
-rw-r--r-- | usr.sbin/relayd/ca.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/usr.sbin/relayd/ca.c b/usr.sbin/relayd/ca.c index b1d9b61fc32..ee07b70ccf7 100644 --- a/usr.sbin/relayd/ca.c +++ b/usr.sbin/relayd/ca.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ca.c,v 1.29 2017/11/27 21:06:25 claudio Exp $ */ +/* $OpenBSD: ca.c,v 1.30 2017/11/27 23:05:50 bluhm Exp $ */ /* * Copyright (c) 2014 Reyk Floeter <reyk@openbsd.org> @@ -123,14 +123,14 @@ ca_launch(void) if (rlay->rl_tls_cert_fd != -1) { if ((buf = relay_load_fd(rlay->rl_tls_cert_fd, &len)) == NULL) - fatalx("ca_launch: cert"); + fatalx("ca_launch: cert relay_load_fd"); if ((in = BIO_new_mem_buf(buf, len)) == NULL) - fatalx("ca_launch: cert"); + fatalx("ca_launch: cert BIO_new_mem_buf"); if ((cert = PEM_read_bio_X509(in, NULL, NULL, NULL)) == NULL) - fatalx("ca_launch: cert"); + fatalx("ca_launch: cert PEM_read_bio_X509"); hash_x509(cert, hash, sizeof(hash)); @@ -160,14 +160,14 @@ ca_launch(void) if (rlay->rl_tls_cacert_fd != -1) { if ((buf = relay_load_fd(rlay->rl_tls_cacert_fd, &len)) == NULL) - fatalx("ca_launch: cacert"); + fatalx("ca_launch: cacert relay_load_fd"); if ((in = BIO_new_mem_buf(buf, len)) == NULL) - fatalx("ca_launch: cacert"); + fatalx("ca_launch: cacert BIO_new_mem_buf"); if ((cert = PEM_read_bio_X509(in, NULL, NULL, NULL)) == NULL) - fatalx("ca_launch: cacert"); + fatalx("ca_launch: cacert PEM_read_bio_X509"); hash_x509(cert, hash, sizeof(hash)); |