summaryrefslogtreecommitdiffstats
path: root/lib/libssl/src/apps/engine.c
diff options
context:
space:
mode:
authorbeck <beck@openbsd.org>2014-04-19 00:41:37 +0000
committerbeck <beck@openbsd.org>2014-04-19 00:41:37 +0000
commit143cedbbb5931c72fe516e48392a9203fe83567d (patch)
treea36bf02143b29b597cd99a04fc086818b33930f2 /lib/libssl/src/apps/engine.c
parentOpenSSH 6.5 and 6.6 have a bug that causes ~0.2% of connections (diff)
downloadwireguard-openbsd-143cedbbb5931c72fe516e48392a9203fe83567d.tar.xz
wireguard-openbsd-143cedbbb5931c72fe516e48392a9203fe83567d.zip
use intrinsic strlcpy and strlcat everywhere so we only have one set of
funcitons to check for incorrect use. keep BUF_strlcpy and BUF_strlcat for API comptibility only. ok tedu@
Diffstat (limited to 'lib/libssl/src/apps/engine.c')
-rw-r--r--lib/libssl/src/apps/engine.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libssl/src/apps/engine.c b/lib/libssl/src/apps/engine.c
index 5ed33d0d399..7898c96f23d 100644
--- a/lib/libssl/src/apps/engine.c
+++ b/lib/libssl/src/apps/engine.c
@@ -119,8 +119,8 @@ append_buf(char **buf, const char *s, int *size, int step)
return 0;
if (**buf != '\0')
- BUF_strlcat(*buf, ", ", *size);
- BUF_strlcat(*buf, s, *size);
+ strlcat(*buf, ", ", *size);
+ strlcat(*buf, s, *size);
return 1;
}