summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd
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/smtpd
parent112dfc4e7626e7b50880fae1ce087ced40dae266 (diff)
fix typo: 'hash buffer to small' -> too small
Diffstat (limited to 'usr.sbin/smtpd')
-rw-r--r--usr.sbin/smtpd/ssl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/smtpd/ssl.c b/usr.sbin/smtpd/ssl.c
index a7b8521dca3..9802ee144e8 100644
--- a/usr.sbin/smtpd/ssl.c
+++ b/usr.sbin/smtpd/ssl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssl.c,v 1.98 2022/02/18 16:57:36 millert Exp $ */
+/* $OpenBSD: ssl.c,v 1.99 2023/06/11 10:30:10 op Exp $ */
/*
* Copyright (c) 2008 Pierre-Yves Ritschard <pyr@openbsd.org>
@@ -257,7 +257,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);