[#] http://marc.info/?l=openbsd-cvs&m=140918768516720&w=2
openbsd-cvs(obsdave,2) — All
2014-08-28 05:55:06


Module name: src
Changes by: bcook@cvs.openbsd.org 2014/08/27 19:00:57

Modified files:
lib/libcrypto/crypto: getentropy_linux.c

Log message:
preserve errno value on success.

If getrandom returns a temporary failure, make sure errno is not polluted when
it succeeds. Thanks to deraadt@ for pointing it out.