From 8319e5477e1ed004b84acecab7400ff678f7494d Mon Sep 17 00:00:00 2001 From: Love Hornquist Astrand Date: Sun, 21 Mar 2010 16:07:45 -0700 Subject: [PATCH] use pathp for pathbased file names --- lib/hcrypto/rand.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/hcrypto/rand.c b/lib/hcrypto/rand.c index 7840181e7..d3072ebbc 100644 --- a/lib/hcrypto/rand.c +++ b/lib/hcrypto/rand.c @@ -343,6 +343,8 @@ RAND_file_name(char *filename, size_t size) e = getenv("RANDFILE"); if (e == NULL) e = getenv("HOME"); + if (e) + pathp = 1; } /* * Here we really want to call getpwuid(getuid()) but this will -- 2.11.4.GIT