use pathp for pathbased file names
This commit is contained in:
@@ -349,6 +349,8 @@ RAND_file_name(char *filename, size_t size)
|
|||||||
e = getenv("RANDFILE");
|
e = getenv("RANDFILE");
|
||||||
if (e == NULL)
|
if (e == NULL)
|
||||||
e = getenv("HOME");
|
e = getenv("HOME");
|
||||||
|
if (e)
|
||||||
|
pathp = 1;
|
||||||
}
|
}
|
||||||
/*
|
/*
|
||||||
* Here we really want to call getpwuid(getuid()) but this will
|
* Here we really want to call getpwuid(getuid()) but this will
|
||||||
|
Reference in New Issue
Block a user