diff options
author | 2014-04-19 00:41:37 +0000 | |
---|---|---|
committer | 2014-04-19 00:41:37 +0000 | |
commit | 143cedbbb5931c72fe516e48392a9203fe83567d (patch) | |
tree | a36bf02143b29b597cd99a04fc086818b33930f2 /lib/libssl/src/crypto/err/err.c | |
parent | OpenSSH 6.5 and 6.6 have a bug that causes ~0.2% of connections (diff) | |
download | wireguard-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/crypto/err/err.c')
-rw-r--r-- | lib/libssl/src/crypto/err/err.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libssl/src/crypto/err/err.c b/lib/libssl/src/crypto/err/err.c index 27a19bc52c9..0672477cc87 100644 --- a/lib/libssl/src/crypto/err/err.c +++ b/lib/libssl/src/crypto/err/err.c @@ -1071,7 +1071,7 @@ void ERR_add_error_vdata(int num, va_list args) else str=p; } - BUF_strlcat(str,a,(size_t)s+1); + strlcat(str,a,(size_t)s+1); } } ERR_set_error_data(str,ERR_TXT_MALLOCED|ERR_TXT_STRING); |