ayaports/unmaintained/zeroc-ice35/0004-use-add-egd-instead-of-egd.patch
build@apk-groulx 7c2d413554 3.17 cleanup
2023-01-11 00:40:45 +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;