Replace libcrypto RAND_ with our own to avoid valgrind errors.

This commit is contained in:
Adam Ierymenko 2013-08-10 10:27:53 -04:00
parent 67acba4bc9
commit 93a7eef2a5
3 changed files with 80 additions and 11 deletions

View file

@ -37,16 +37,6 @@
#include <vector>
#include <string>
#ifdef _WIN32
#include <Windows.h>
#else
#include <fcntl.h>
#include <unistd.h>
#include <signal.h>
#include <sys/file.h>
#include <sys/stat.h>
#endif
#include "Condition.hpp"
#include "Node.hpp"
#include "Topology.hpp"
@ -71,6 +61,16 @@
#include "CMWC4096.hpp"
#include "Service.hpp"
#ifdef __WINDOWS__
#include <Windows.h>
#else
#include <fcntl.h>
#include <unistd.h>
#include <signal.h>
#include <sys/file.h>
#include <sys/stat.h>
#endif
#include "../version.h"
namespace ZeroTier {