python-texttable: update to 1.3.1
[void-packages.git] / srcpkgs / Ice / patches / libressl.patch
blob6b56ecc63e49c2b6591eb4e934a30c27f11e16bb
1 --- cpp/src/Glacier2/CryptPermissionsVerifierI.cpp.orig 2014-07-15 16:06:05.470463382 +0200
2 +++ cpp/src/Glacier2/CryptPermissionsVerifierI.cpp 2014-07-15 16:09:18.591065235 +0200
3 @@ -8,6 +8,7 @@
4 // **********************************************************************
6 #include <Glacier2/CryptPermissionsVerifierI.h>
7 +#include <openssl/opensslv.h>
8 #include <openssl/des.h>
10 using namespace std;
11 --- cpp/src/IceGrid/RegistryI.cpp.orig 2014-07-15 16:10:22.943599009 +0200
12 +++ cpp/src/IceGrid/RegistryI.cpp 2014-07-15 16:10:40.950748368 +0200
13 @@ -40,6 +40,7 @@
15 #include <fstream>
17 +#include <openssl/opensslv.h>
18 #include <openssl/des.h> // For crypt() passwords
20 #include <sys/types.h>
21 --- cpp/src/IceSSL/Instance.cpp.orig 2014-07-15 15:59:44.430302828 +0200
22 +++ cpp/src/IceSSL/Instance.cpp 2014-07-15 16:02:59.590921603 +0200
23 @@ -274,12 +274,14 @@ IceSSL::Instance::Instance(const Communi
24 string entropyDaemon = properties->getProperty("IceSSL.EntropyDaemon");
25 if(!entropyDaemon.empty())
27 +#ifdef HAVE_SSL_RAND_EGD
28 if(RAND_egd(entropyDaemon.c_str()) <= 0)
30 PluginInitializationException ex(__FILE__, __LINE__);
31 ex.reason = "IceSSL: EGD failure using file " + entropyDaemon;
32 throw ex;
34 +#endif
36 #endif
37 if(!RAND_status())