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:
@@ -125,7 +125,7 @@ main(int argc, char **argv)
|
||||
else if (strcasecmp(rand_method, "unix") == 0)
|
||||
RAND_set_rand_method(RAND_unix_method());
|
||||
#endif
|
||||
#if !defined(NO_RAND_EGD_METHOD) && defined(HAVE_RAND_EGD)
|
||||
#if defined(HAVE_RAND_EGD)
|
||||
else if (strcasecmp(rand_method, "egd") == 0)
|
||||
RAND_set_rand_method(RAND_egd_method());
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user