Commit 9db93a13 authored by Quanah Gibson-Mount's avatar Quanah Gibson-Mount
Browse files

ITS#8687 - EGD is disabled by default in OpenSSL 1.1. We need to comment out...

ITS#8687 - EGD is disabled by default in OpenSSL 1.1. We need to comment out this block if it is not detected. Particularly affects cross compilation.
parent 9b777110
......@@ -1186,11 +1186,13 @@ tlso_seed_PRNG( const char *randfile )
* The fact is that when $HOME is NULL, .rnd is used.
*/
randfile = RAND_file_name( buffer, sizeof( buffer ) );
} else if (RAND_egd(randfile) > 0) {
}
#ifndef OPENSSL_NO_EGD
else if (RAND_egd(randfile) > 0) {
/* EGD socket */
return 0;
}
#endif
if (randfile == NULL) {
Debug( LDAP_DEBUG_ANY,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment