merged random_seed assert into trunk
This commit is contained in:
@@ -36,6 +36,7 @@ POSSIBILITY OF SUCH DAMAGE.
|
||||
#include "libtorrent/hasher.hpp"
|
||||
#include "libtorrent/pe_crypto.hpp"
|
||||
#include "libtorrent/session.hpp"
|
||||
#include "libtorrent/random.hpp"
|
||||
|
||||
#include "setup_transfer.hpp"
|
||||
#include "test.hpp"
|
||||
@@ -181,6 +182,8 @@ int test_main()
|
||||
const int repcount = 128;
|
||||
#endif
|
||||
|
||||
random_seed(time_now_hires().time_since_epoch().count());
|
||||
|
||||
for (int rep = 0; rep < repcount; ++rep)
|
||||
{
|
||||
dh_key_exchange DH1, DH2;
|
||||
|
Reference in New Issue
Block a user