Fix build when OpenSSL has no EGD support

This commit is contained in:
Bernard
2015-04-10 22:47:03 +02:00
parent 0de18bdb5f
commit 828f4f4fb1
4 changed files with 4 additions and 3 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) {
#ifndef NO_RAND_EGD_METHOD
#if !defined(NO_RAND_EGD_METHOD) && defined(HAVE_RAND_EGD)
krb5_context context;
const char *p;