summaryrefslogtreecommitdiff
path: root/include/string.h
diff options
context:
space:
mode:
authorMatthew Dempsky <matthew@cvs.openbsd.org>2014-06-13 02:12:18 +0000
committerMatthew Dempsky <matthew@cvs.openbsd.org>2014-06-13 02:12:18 +0000
commit310114eb2e113fa229cd8bbfd64a6208eed174cc (patch)
treef09b93271796560ca57d0cbca622dcab11f4a133 /include/string.h
parentf12b7a1fdb947877b8504cfe3aa7e0b2579eb8d0 (diff)
Add timingsafe_memcmp().
ok deraadt, jmc, tedu
Diffstat (limited to 'include/string.h')
-rw-r--r--include/string.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/string.h b/include/string.h
index b0b851edafb..ffb034acdd0 100644
--- a/include/string.h
+++ b/include/string.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: string.h,v 1.27 2014/01/22 21:06:45 tedu Exp $ */
+/* $OpenBSD: string.h,v 1.28 2014/06/13 02:12:17 matthew Exp $ */
/* $NetBSD: string.h,v 1.6 1994/10/26 00:56:30 cgd Exp $ */
/*-
@@ -138,6 +138,7 @@ size_t strlcpy(char *, const char *, size_t)
void strmode(int, char *);
char *strsep(char **, const char *);
int timingsafe_bcmp(const void *, const void *, size_t);
+int timingsafe_memcmp(const void *, const void *, size_t);
#endif
__END_DECLS