CVSROOT: /cvs Module name: src Changes by: bc...@cvs.openbsd.org 2016/06/30 06:19:51
Modified files: lib/libcrypto/crypto: arc4random_aix.h arc4random_freebsd.h arc4random_hpux.h arc4random_linux.h arc4random_netbsd.h arc4random_osx.h arc4random_solaris.h Log message: Tighten behavior of _rs_allocate failure for portable arc4random implementations. In the event of a failure in _rs_allocate for rsx, we still have a reference to freed memory for rs on return. Not a huge deal since we subsequently abort in _rs_init, but it looks strange on its own. ok deraadt@