build openbsd memmem implementation for explicit_bzero test

memmem is not always available, and not all memmem's work the same way

ok beck@ guenther@
This commit is contained in:
Brent Cook
2014-07-21 18:57:06 -05:00
parent 451dbd967c
commit ea6e7116c9
3 changed files with 7 additions and 1 deletions

View File

@@ -22,4 +22,7 @@ int timingsafe_bcmp(const void *b1, const void *b2, size_t n);
int timingsafe_memcmp(const void *b1, const void *b2, size_t len);
void * memmem(const void *big, size_t big_len, const void *little,
size_t little_len);
#endif