-/* $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>
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);
-/* $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>
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);