Refactor EGD conditional support

As per Jeremy's request in #124
Windows does not define HAVE_RAND_EGD resulting in the same conditional
support for EGD.
This commit is contained in:
Bernard Spil
2015-04-21 10:04:08 +02:00
parent 828f4f4fb1
commit 858480145b
6 changed files with 3 additions and 10 deletions

View File

@@ -67,7 +67,7 @@ seed_something(void)
/* Calling RAND_status() will try to use /dev/urandom if it exists so
we do not have to deal with it. */
if (RAND_status() != 1) {
#if !defined(NO_RAND_EGD_METHOD) && defined(HAVE_RAND_EGD)
#if defined(HAVE_RAND_EGD)
krb5_context context;
const char *p;