17 lines
399 B
Text
17 lines
399 B
Text
Neuter RAND_set_rand_engine()
|
|
|
|
Index: src/check_nrpe.c
|
|
--- src/check_nrpe.c.orig
|
|
+++ src/check_nrpe.c
|
|
@@ -857,9 +857,11 @@ void setup_ssl()
|
|
if (use_ssl == TRUE) {
|
|
SSL_load_error_strings();
|
|
SSL_library_init();
|
|
+#ifndef OPENSSL_NO_ENGINE
|
|
ENGINE_load_builtin_engines();
|
|
RAND_set_rand_engine(NULL);
|
|
ENGINE_register_all_complete();
|
|
+#endif
|
|
|
|
#if OPENSSL_VERSION_NUMBER >= 0x10100000
|
|
|