aboutsummaryrefslogtreecommitdiff
path: root/update.sh
diff options
context:
space:
mode:
authorBrent Cook <bcook@openbsd.org>2014-07-27 06:11:56 -0500
committerBrent Cook <bcook@openbsd.org>2014-07-28 07:07:23 -0500
commit0a74a4d4648f8655ad4862f28d995fcf2865b3b2 (patch)
treee59f4c643104f98fe504604e590f458edbb8fd24 /update.sh
parentfb67b92eb2bf94816facee5469a7015101b3a07e (diff)
downloadportable-0a74a4d4648f8655ad4862f28d995fcf2865b3b2.tar.gz
portable-0a74a4d4648f8655ad4862f28d995fcf2865b3b2.tar.bz2
portable-0a74a4d4648f8655ad4862f28d995fcf2865b3b2.zip
add strndup/strnlen compat functions from OpenBSD
Diffstat (limited to 'update.sh')
-rwxr-xr-xupdate.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/update.sh b/update.sh
index 290e06d..30c2286 100755
--- a/update.sh
+++ b/update.sh
@@ -64,7 +64,7 @@ $CP $libssl_src/src/crypto/opensslfeatures.h include/openssl
64$CP $libssl_src/src/e_os2.h include/openssl 64$CP $libssl_src/src/e_os2.h include/openssl
65$CP $libssl_src/src/ssl/pqueue.h include 65$CP $libssl_src/src/ssl/pqueue.h include
66 66
67for i in explicit_bzero.c strlcpy.c strlcat.c timingsafe_bcmp.c timingsafe_memcmp.c; do 67for i in explicit_bzero.c strlcpy.c strlcat.c strndup.c strnlen.c timingsafe_bcmp.c timingsafe_memcmp.c; do
68 $CP $libc_src/string/$i crypto/compat 68 $CP $libc_src/string/$i crypto/compat
69done 69done
70$CP $libc_src/stdlib/reallocarray.c crypto/compat 70$CP $libc_src/stdlib/reallocarray.c crypto/compat