From f0b54fefe9bf7845ca8d2c137f1f5483ac17320c Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Thu, 3 May 2001 07:50:11 +0000 Subject: Some platforms (most notably Windows) do not have a $HOME by default. For those, unless the environment variables RANDFILE or HOME are defined (the default case!), RAND_file_name() will return NULL. This change adds a default HOME for those platforms. To add a default HOME for any platform, just define DEFAULT_HOME in the proper place, wrapped in appropriate #ifdef..#endif, in e_os.h. --- e_os.h | 1 + 1 file changed, 1 insertion(+) (limited to 'e_os.h') diff --git a/e_os.h b/e_os.h index 6cef40f5a5..08410f9eb4 100644 --- a/e_os.h +++ b/e_os.h @@ -230,6 +230,7 @@ extern "C" { # define SSLEAY_CONF OPENSSL_CONF # define NUL_DEV "nul" # define RFILE ".rnd" +# define DEFAULT_HOME "C:" #else /* The non-microsoft world world */ -- cgit v1.2.1