Browse Source

Clean up after arc4random u_int32_t uint32_t change

ok jsing@
OPENBSD_5_6
beck 10 years ago
parent
commit
97abe91297
2 changed files with 8 additions and 8 deletions
  1. +3
    -3
      src/include/stdlib.h
  2. +5
    -5
      src/lib/libc/crypt/arc4random.3

+ 3
- 3
src/include/stdlib.h View File

@ -1,4 +1,4 @@
/* $OpenBSD: stdlib.h,v 1.58 2014/04/22 14:26:26 tedu Exp $ */
/* $OpenBSD: stdlib.h,v 1.59 2014/07/09 16:57:49 beck Exp $ */
/* $NetBSD: stdlib.h,v 1.25 1995/12/27 21:19:08 jtc Exp $ */
/*-
@ -305,8 +305,8 @@ qdiv_t qdiv(quad_t, quad_t);
quad_t strtoq(const char *, char **, int);
u_quad_t strtouq(const char *, char **, int);
u_int32_t arc4random(void);
u_int32_t arc4random_uniform(u_int32_t);
uint32_t arc4random(void);
uint32_t arc4random_uniform(uint32_t);
void arc4random_buf(void *, size_t)
__attribute__((__bounded__ (__string__,1,2)));


+ 5
- 5
src/lib/libc/crypt/arc4random.3 View File

@ -1,4 +1,4 @@
.\" $OpenBSD: arc4random.3,v 1.32 2013/10/22 06:51:41 jmc Exp $
.\" $OpenBSD: arc4random.3,v 1.33 2014/07/09 16:57:49 beck Exp $
.\"
.\" Copyright 1997 Niels Provos <provos@physnet.uni-hamburg.de>
.\" All rights reserved.
@ -30,7 +30,7 @@
.\"
.\" Manual page, using -mandoc macros
.\"
.Dd $Mdocdate: October 22 2013 $
.Dd $Mdocdate: July 9 2014 $
.Dt ARC4RANDOM 3
.Os
.Sh NAME
@ -40,12 +40,12 @@
.Nd random number generator
.Sh SYNOPSIS
.In stdlib.h
.Ft u_int32_t
.Ft uint32_t
.Fn arc4random "void"
.Ft void
.Fn arc4random_buf "void *buf" "size_t nbytes"
.Ft u_int32_t
.Fn arc4random_uniform "u_int32_t upper_bound"
.Ft uint32_t
.Fn arc4random_uniform "uint32_t upper_bound"
.Sh DESCRIPTION
This family of functions provides higher quality data than those
described in


Loading…
Cancel
Save