From 8a91c64edf551c3c05483ec3f5c87e8dc27a3cc5 Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Fri, 31 Jul 2020 23:51:23 -0400 Subject: Use snprintf instead of strlcpy --- compat.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'compat.h') diff --git a/compat.h b/compat.h index 63109a0..4559434 100644 --- a/compat.h +++ b/compat.h @@ -30,8 +30,7 @@ // libcrypto defines these functions if libc doesn't. void explicit_bzero(void *b, size_t len); -#ifndef strlcpy -size_t strlcpy(char *restrict dst, const char *restrict src, size_t dstsize); +#ifndef strlcat size_t strlcat(char *restrict dst, const char *restrict src, size_t dstsize); #endif -- cgit 1.4.1