From: op Date: Sun, 11 Jun 2023 10:30:10 +0000 (+0000) Subject: fix typo: 'hash buffer to small' -> too small X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=7078bf6a0811fd2631c7c9c29bc806a89032e697;p=openbsd fix typo: 'hash buffer to small' -> too small --- 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 @@ -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); 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 @@ -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);