summaryrefslogtreecommitdiff
path: root/usr.sbin/relayd
diff options
context:
space:
mode:
authorOmar Polo <op@cvs.openbsd.org>2023-06-11 10:30:27 +0000
committerOmar Polo <op@cvs.openbsd.org>2023-06-11 10:30:27 +0000
commitcde10cc73ad7f44871da3ac44a0feeddedd57050 (patch)
tree15107f833e58b7026eca8ce34d506c64ce6d61b1 /usr.sbin/relayd
parent112dfc4e7626e7b50880fae1ce087ced40dae266 (diff)
fix typo: 'hash buffer to small' -> too small
Diffstat (limited to 'usr.sbin/relayd')
-rw-r--r--usr.sbin/relayd/ca.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/relayd/ca.c b/usr.sbin/relayd/ca.c
index dcb9d205e3d..2c5f7b6ce5e 100644
--- a/usr.sbin/relayd/ca.c
+++ b/usr.sbin/relayd/ca.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ca.c,v 1.41 2023/03/26 18:04:47 tb Exp $ */
+/* $OpenBSD: ca.c,v 1.42 2023/06/11 10:30:26 op Exp $ */
/*
* Copyright (c) 2014 Reyk Floeter <reyk@openbsd.org>
@@ -95,7 +95,7 @@ hash_x509(X509 *cert, char *hash, size_t hashlen)
fatalx("%s: X509_pubkey_digest failed", __func__);
if (hashlen < 2 * dlen + sizeof("SHA256:"))
- fatalx("%s: hash buffer to small", __func__);
+ fatalx("%s: hash buffer too small", __func__);
off = strlcpy(hash, "SHA256:", hashlen);