rand: Use crypto libs instead of CryptGenRandom()
authorNirbheek Chauhan <nirbheek@centricular.com>
Mon, 15 Jun 2020 22:19:14 +0000 (03:49 +0530)
committerNirbheek Chauhan <nirbheek@centricular.com>
Mon, 15 Jun 2020 22:26:53 +0000 (03:56 +0530)
commit165086e89793867e7c638250c5fc8cbc81bd7328
tree4b692d07529dfcee24aaa23fe7896c2076b6e3c9
parentb67df5899333cbf91b0a8ba4d2aa8ad81ad4fddc
rand: Use crypto libs instead of CryptGenRandom()

We will always have either openssl or gnutls, which are better sources
for random nonces. Also, CryptGenRandom is deprecated API that's not
available on WinRT/UWP.
stun/rand.c