mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
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.
This commit is contained in:
parent
a795d7cc0b
commit
35a880c53e
@ -1309,11 +1309,13 @@ tlso_seed_PRNG( const char *randfile )
|
|||||||
* The fact is that when $HOME is NULL, .rnd is used.
|
* The fact is that when $HOME is NULL, .rnd is used.
|
||||||
*/
|
*/
|
||||||
randfile = RAND_file_name( buffer, sizeof( buffer ) );
|
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 */
|
/* EGD socket */
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
if (randfile == NULL) {
|
if (randfile == NULL) {
|
||||||
Debug( LDAP_DEBUG_ANY,
|
Debug( LDAP_DEBUG_ANY,
|
||||||
|
Loading…
Reference in New Issue
Block a user