rand/randfile.c: restore fallback to $HOME for non-setuid programs.
authorAndy Polyakov <appro@openssl.org>
Tue, 20 Sep 2016 14:59:32 +0000 (16:59 +0200)
committerAndy Polyakov <appro@openssl.org>
Wed, 21 Sep 2016 19:10:07 +0000 (21:10 +0200)
commit098dc9be439e5bc3625e01c4092bedc072498da9
treecc72b73fd66a4937bc14b03111d0c90c10b5aae7
parent7b368cd6d964da817cd1de85fc0cae74372e0966
rand/randfile.c: restore fallback to $HOME for non-setuid programs.

Reported in GH#1589, but solution is different from suggested.

Reviewed-by: Rich Salz <rsalz@openssl.org>
(cherry picked from commit 799c1293fcf412db64dcc8a09a6b11cc755914dc)
crypto/rand/randfile.c