diff options
Diffstat (limited to 'src/lib/libc/string/timingsafe_bcmp.c')
-rw-r--r-- | src/lib/libc/string/timingsafe_bcmp.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/lib/libc/string/timingsafe_bcmp.c b/src/lib/libc/string/timingsafe_bcmp.c index 9c4287cf63..0b736154ca 100644 --- a/src/lib/libc/string/timingsafe_bcmp.c +++ b/src/lib/libc/string/timingsafe_bcmp.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: timingsafe_bcmp.c,v 1.1 2010/09/24 13:33:00 matthew Exp $ */ | 1 | /* $OpenBSD: timingsafe_bcmp.c,v 1.2 2014/06/10 04:17:37 deraadt Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2010 Damien Miller. All rights reserved. | 3 | * Copyright (c) 2010 Damien Miller. All rights reserved. |
4 | * | 4 | * |
@@ -15,11 +15,7 @@ | |||
15 | * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | 15 | * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
16 | */ | 16 | */ |
17 | 17 | ||
18 | #if !defined(_KERNEL) && !defined(_STANDALONE) | ||
19 | #include <string.h> | 18 | #include <string.h> |
20 | #else | ||
21 | #include <lib/libkern/libkern.h> | ||
22 | #endif | ||
23 | 19 | ||
24 | int | 20 | int |
25 | timingsafe_bcmp(const void *b1, const void *b2, size_t n) | 21 | timingsafe_bcmp(const void *b1, const void *b2, size_t n) |