aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/string/Makefile.am
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2016-03-18 11:49:27 +0100
committerCorinna Vinschen <corinna@vinschen.de>2016-03-18 12:33:40 +0100
commit55c239d83413d3092c38acde8191d9249cf9f0ee (patch)
tree9706411d3a870ce3f42b304966b61313a8eee655 /newlib/libc/string/Makefile.am
parent559fd77ddac907da598202c23f103fc940f15ff8 (diff)
downloadnewlib-55c239d83413d3092c38acde8191d9249cf9f0ee.zip
newlib-55c239d83413d3092c38acde8191d9249cf9f0ee.tar.gz
newlib-55c239d83413d3092c38acde8191d9249cf9f0ee.tar.bz2
Add timingsafe_memcmp()
This function is used by LibreSSL and OpenSSH and is provided by the OpenBSD libc. * libc/include/string.h (timingsafe_memcmp): Declare. * libc/string/timingsafe_memcmp.c: New file. * libc/string/Makefile.am: Add new file. * libc/string/Makefile.in: Regenerate.
Diffstat (limited to 'newlib/libc/string/Makefile.am')
-rw-r--r--newlib/libc/string/Makefile.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/newlib/libc/string/Makefile.am b/newlib/libc/string/Makefile.am
index c227bbd..1c047f5 100644
--- a/newlib/libc/string/Makefile.am
+++ b/newlib/libc/string/Makefile.am
@@ -47,6 +47,7 @@ GENERAL_SOURCES = \
strstr.c \
swab.c \
timingsafe_bcmp.c \
+ timingsafe_memcmp.c \
u_strerr.c \
wcscat.c \
wcschr.c \