add strndup/strnlen compat functions from OpenBSD

This commit is contained in:
Brent Cook
2014-07-27 06:11:56 -05:00
parent fb67b92eb2
commit 0a74a4d464
5 changed files with 17 additions and 1 deletions

2
.gitignore vendored
View File

@@ -108,6 +108,8 @@ crypto/compat/getentropy_*.c
crypto/compat/reallocarray.c
crypto/compat/strlcat.c
crypto/compat/strlcpy.c
crypto/compat/strndup.c
crypto/compat/strnlen.c
crypto/compat/strtonum.c
crypto/compat/timingsafe_bcmp.c
crypto/compat/timingsafe_memcmp.c