]> granicus.if.org Git - php/commit
random_bytes improvements for FreeBSD (from 12.x serie)
authorDavid Carlier <devnexen@gmail.com>
Mon, 25 Jun 2018 10:17:13 +0000 (11:17 +0100)
committerAnatol Belski <ab@php.net>
Fri, 6 Jul 2018 15:47:59 +0000 (17:47 +0200)
commit9da4e30c757b1b9cb70099ee67a0f0d7800c9eb2
tree12f9a9b0102e39362d46e952ceb3b2af63ab21b6
parent0b94534e931074c49051bd9eba70fc4e0b7562e4
random_bytes improvements for FreeBSD (from 12.x serie)

giving the possiblity to pre-fill the buffer. A new getrandom
function was added for future version with a similar interface
than Linux's syscall.
ext/standard/random.c