32d91f1 Made RAND_status check optional (broke --disable-crypto-rand)

Authored and Committed by pemensik 5 years ago
    Made RAND_status check optional (broke --disable-crypto-rand)
    
    Unlike upstream, skip it also for DHCP.
    
    Disable RAND_status also in non-threaded builds. DHCP is built without
    threads and should not check RAND_status on dns library initialization.
    Lack of entropy is possible state for dhclient, but it must not fail
    even in this case. Because DHCP itself does not require custom random
    generator, leave default RAND_OpenSSL configured. It should help TLS
    connection to LDAP in single DHCP binary, while keeping secure random
    data if needed.
    
    Resolves: #1663318
    
    (modified upstream commit 8a98277811ea50035ff37b744fa3dc5b75bee099)
    
        
file modified
+21 -5
file modified
+4 -2