summaryrefslogtreecommitdiff
path: root/include/string.h
diff options
context:
space:
mode:
authorMatthew Dempsky <matthew@cvs.openbsd.org>2010-09-24 13:33:01 +0000
committerMatthew Dempsky <matthew@cvs.openbsd.org>2010-09-24 13:33:01 +0000
commit8749451f0138f265fd023c0b6ee529b680bd9ffe (patch)
treec80d8cd5225b91dfc83536aa12124a6007c38715 /include/string.h
parent898c385370762cd3fd1a6fa08058a30f7511fa79 (diff)
Add timingsafe_bcmp(3) to libc, mention that it's already in the
kernel in kern(9), and remove it from OpenSSH. ok deraadt@, djm@
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 e33204d923b..3a1494d16d7 100644
--- a/include/string.h
+++ b/include/string.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: string.h,v 1.19 2010/05/18 22:24:55 tedu Exp $ */
+/* $OpenBSD: string.h,v 1.20 2010/09/24 13:33:00 matthew Exp $ */
/* $NetBSD: string.h,v 1.6 1994/10/26 00:56:30 cgd Exp $ */
/*-
@@ -124,6 +124,7 @@ size_t strlcpy(char *, const char *, size_t)
void strmode(int, char *);
char *strsep(char **, const char *);
char *strsignal(int);
+int timingsafe_bcmp(const void *, const void *, size_t);
#endif
__END_DECLS