summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authortom <tom@openbsd.org>2017-05-11 11:52:18 +0000
committertom <tom@openbsd.org>2017-05-11 11:52:18 +0000
commitc1664c68512fa078d550f8f30ebf79513a5348fb (patch)
tree8b2cd8285e93f7326f8771ec7a70a89fa6f87687 /include
parentUse the new netcat -W recvlimit feature to speed up the test. (diff)
downloadwireguard-openbsd-c1664c68512fa078d550f8f30ebf79513a5348fb.tar.xz
wireguard-openbsd-c1664c68512fa078d550f8f30ebf79513a5348fb.zip
arc4random_buf should be bounded buffer, not bounded string
ok millert@
Diffstat (limited to 'include')
-rw-r--r--include/stdlib.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/stdlib.h b/include/stdlib.h
index 66393e51ea4..0374313a112 100644
--- a/include/stdlib.h
+++ b/include/stdlib.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: stdlib.h,v 1.70 2017/05/10 21:48:29 millert Exp $ */
+/* $OpenBSD: stdlib.h,v 1.71 2017/05/11 11:52:18 tom Exp $ */
/* $NetBSD: stdlib.h,v 1.25 1995/12/27 21:19:08 jtc Exp $ */
/*-
@@ -308,7 +308,7 @@ u_quad_t strtouq(const char *__restrict, char **__restrict, int);
uint32_t arc4random(void);
uint32_t arc4random_uniform(uint32_t);
void arc4random_buf(void *, size_t)
- __attribute__((__bounded__ (__string__,1,2)));
+ __attribute__((__bounded__ (__buffer__,1,2)));
#endif /* __BSD_VISIBLE */