From ea6e7116c9d09f850d5045ef922b8bb9e0f65d82 Mon Sep 17 00:00:00 2001 From: Brent Cook Date: Mon, 21 Jul 2014 18:57:06 -0500 Subject: 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@ --- include/string.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') diff --git a/include/string.h b/include/string.h index acdde6c..6277247 100644 --- a/include/string.h +++ b/include/string.h @@ -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 -- cgit v1.2.3-55-g6feb