Change default directory for the .rnd file on Windows and VMS
authorRichard Levitte <levitte@openssl.org>
Mon, 20 Jun 2016 05:56:32 +0000 (07:56 +0200)
committerRichard Levitte <levitte@openssl.org>
Mon, 20 Jun 2016 09:06:40 +0000 (11:06 +0200)
commitb8f304f70df820edb7740abcac31ed90073f3ecd
treeca6249cd86ce1c2adea65217be0f7c55437ff1e9
parenta8db2cfa4b293f3db9566a305a26109c4fde74b2
Change default directory for the .rnd file on Windows and VMS

The previous change for Windows wasn't quite right.  Corrected to use
%HOME%, %USERPROFILE% and %SYSTEMPROFILE%, in that order.

Also adding the default home for VMS, SYS$LOGIN:

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Andy Polyakov <appro@openssl.org>
CHANGES
crypto/rand/randfile.c
e_os.h