aboutsummaryrefslogblamecommitdiff
path: root/devel/ice/files/patch-cpp-src-IceSSL-OpenSSLEngine.cpp
blob: a239d042f9e3a078c7fc191b3634bca6fc7a370d (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12











                                                                                                            
--- cpp/src/IceSSL/OpenSSLEngine.cpp.orig	2015-09-14 23:12:17.842563990 +0000
+++ cpp/src/IceSSL/OpenSSLEngine.cpp	2015-09-14 23:13:21.929560990 +0000
@@ -267,7 +267,9 @@
             string entropyDaemon = properties->getProperty("IceSSL.EntropyDaemon");
             if(!entropyDaemon.empty())
             {
+#    ifndef OPENSSL_NO_EGD
                 if(RAND_egd(entropyDaemon.c_str()) <= 0)
+#    endif
                 {
                     throw PluginInitializationException(__FILE__, __LINE__,
                                                         "IceSSL: EGD failure using file " + entropyDaemon);