Use the OpenSSL RNG for randomness that needs to be secure.

This commit is contained in:
JoelKatz
2012-08-05 00:54:28 -07:00
parent 3e3d367c98
commit ed8635c98d
2 changed files with 7 additions and 5 deletions

View File

@@ -13,7 +13,7 @@ class SNTPQuery
public:
bool mReceivedReply;
time_t mLocalTimeSent;
int mQueryMagic;
int mQueryNonce;
SNTPQuery(time_t j = (time_t) -1) : mReceivedReply(false), mLocalTimeSent(j) { ; }
};