summaryrefslogtreecommitdiff
path: root/openbsd-compat/strnlen.c
Commit message (Collapse)AuthorAgeFilesLines
* Use includes.h instead of config.h.Darren Tucker2018-04-291-1/+1
| | | | | | This ensures it picks up the definition of DEF_WEAK, the lack of which can cause compile errors in some cases (eg modern AIX). From michael at felt.demon.nl.
* Disable native strndup and strnlen on AIX.Darren Tucker2018-03-301-1/+1
| | | | | | | On at least some revisions of AIX, strndup returns unterminated strings under some conditions, apparently because strnlen returns incorrect values in those cases. Disable both on AIX and use the replacements from openbsd-compat. Fixes problem with ECDSA keys there, ok djm.
* - (dtucker) [configure.ac openbsd-compat/Makefile.inDarren Tucker2011-09-291-0/+37
openbsd-compat/strnlen.c] Add strnlen to the compat library.