summaryrefslogtreecommitdiff
path: root/Source/Core/Common/TraversalServer.cpp
AgeCommit message (Collapse)Author
2019-05-10TraversalServer: use C++ <chrono> instead of gettimeofdayMichael M
2019-05-06Reformat repo to clang-format 7.0 rulesTechjar
2018-06-14Common/Random: Add convenience template for simple arithmetic valuesLioncash
In cases where we just want a random value for a primitive arithmetic type, we can wrap this in a template to allow convenient direct assignment instead of keeping declaration and initialization separate (making it more difficult to use values uninitialized). This also allows the use of Common::Random with functions such as std::generate, making it more flexible in how random values can be generated.
2018-05-31Common: Add Random utilitiesLéo Lam
This makes it easier to generate random numbers or fill a buffer with random data in a cryptographically secure way. This also replaces existing usages of RNG functions in the codebase: * <random> is pretty hard to use correctly, and std::random_device does not give enough guarantees about its results (it's implementation-defined, non cryptographically secure and could be deterministic on some platforms). Doing things correctly is error prone and verbose. * rand() is terrible and should not be used especially in crypto code.
2018-03-08traversal: add systemd watchdog supportPierre Bourdon
2017-02-25Turn Off Debug Mode for Traversal ServerChris Burgener
2016-06-24Reformat all the things. Have fun with merge conflicts.Pierre Bourdon
2016-01-21A few more asterisks, mostly castsmathieui
2015-04-13Fix printf width in TraversalServer.comex
2015-03-14Core: Change NULLs to nullptrs.Rohit Nirmal
2015-02-25Added TraversalServer.cpp to Core/CommonZiek