ayaports/apk/v3.13/main/zeroc-ice35/0004-use-add-egd-instead-of-egd.patch
build@apk-groulx 600a5bb90e update
2021-06-04 15:24:22 +00:00

13 lines
699 B
Diff

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;