summaryrefslogtreecommitdiffstats
path: root/e_os.h
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2016-06-20 07:56:32 +0200
committerRichard Levitte <levitte@openssl.org>2016-06-20 11:06:40 +0200
commitb8f304f70df820edb7740abcac31ed90073f3ecd (patch)
treeca6249cd86ce1c2adea65217be0f7c55437ff1e9 /e_os.h
parenta8db2cfa4b293f3db9566a305a26109c4fde74b2 (diff)
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>
Diffstat (limited to 'e_os.h')
-rw-r--r--e_os.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/e_os.h b/e_os.h
index 4951335635..eafa8623aa 100644
--- a/e_os.h
+++ b/e_os.h
@@ -325,6 +325,8 @@ extern FILE *_imp___iob;
# define NO_SYS_PARAM_H
# define NO_SYS_UN_H
+# define DEFAULT_HOME "SYS$LOGIN:"
+
# else
/* !defined VMS */
# ifdef OPENSSL_UNISTD