Be friendly to krb5_generate_random_block consumers

Allow them to disable the EGD/profile access and the use of a
random seed file.

These facilities are not tenable when running in the kernel.
This commit is contained in:
Ben Kaduk
2013-07-02 10:59:45 -04:00
committed by Nicolas Williams
parent 2107924b37
commit 5dfaa0d10b
3 changed files with 9 additions and 1 deletions

View File

@@ -80,6 +80,7 @@ while(<>) {
if ("$(DIR_hdbdir)") { print "#define HDB_DB_DIR \"".'$(DIR_hdbdir)'."\"\n"; }
if ("$(HAVE_MSLSA_CACHE)") { print "#define HAVE_MSLSA_CACHE 1\n"; }
if ("$(NO_LOCALNAME)") { print "#define NO_LOCALNAME 1\n"; }
if ("$(NO_RAND_EGD_METHOD)") { print "#define NO_RAND_EGD_METHOD 1\n"; }
} elsif (m/\@VERSION_OPTDEFS\@/) {