ayaports/unmaintained/zeroc-ice35/0004-use-add-egd-instead-of-egd.patch

14 lines
699 B
Diff
Raw Normal View History

2021-06-04 15:24:22 +00:00
diff --git a/cpp/src/IceSSL/Instance.cpp b/cpp/src/IceSSL/Instance.cpp
index eb2ae99f78..7ec30f32a0 100644
--- a/cpp/src/IceSSL/Instance.cpp
+++ b/cpp/src/IceSSL/Instance.cpp
@@ -274,7 +274,7 @@ IceSSL::Instance::Instance(const CommunicatorPtr& communicator) :
string entropyDaemon = properties->getProperty("IceSSL.EntropyDaemon");
if(!entropyDaemon.empty())
{
- if(RAND_egd(entropyDaemon.c_str()) <= 0)
+ if(RAND_add_egd(entropyDaemon.c_str()) <= 0)
{
PluginInitializationException ex(__FILE__, __LINE__);
ex.reason = "IceSSL: EGD failure using file " + entropyDaemon;