X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Fcrypto.c;h=6dcdf20347b45b15ff263b155b70fe875f06114d;hb=af39420443861eed8d56b852d15410e09af0e9a6;hp=971d1e06bf0a2c0d3080ef0430b10aace51c9360;hpb=dbac6fe2830f3ecacc09be5f3e722b5806fab4c7;p=citadel.git diff --git a/webcit/crypto.c b/webcit/crypto.c index 971d1e06b..6dcdf2034 100644 --- a/webcit/crypto.c +++ b/webcit/crypto.c @@ -51,17 +51,6 @@ void bind_to_key_and_certificate(void) { // initialize ssl engine, load certs and initialize openssl internals void init_ssl(void) { -#ifndef OPENSSL_NO_EGD - if (!access("/var/run/egd-pool", F_OK)) { - RAND_egd("/var/run/egd-pool"); - } -#endif - - if (!RAND_status()) { - syslog(LOG_WARNING, "PRNG not adequately seeded, won't do SSL/TLS"); - return; - } - // Initialize SSL transport layer SSL_library_init(); SSL_load_error_strings();