summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Hervey <edward@centricular.com>2018-02-21 08:49:15 +0100
committerEdward Hervey <bilboed@bilboed.com>2018-06-06 06:59:54 +0200
commite8312e66f7bb96dfde7d29af7f242cc99bd5c74f (patch)
treea51faf309016b9f7b09f460b079381e4ce49d50b
parentec57d333ad29da12784c964cd2a38d58d77be12c (diff)
downloadlibnice-e8312e66f7bb96dfde7d29af7f242cc99bd5c74f.tar.gz
stun: Also rename windows-specific function
Like all other instances of nice_RAND_bytes that were renamed to nice_RAND_nonce. Fixes the windows build
-rw-r--r--stun/rand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stun/rand.c b/stun/rand.c
index 3ac6741..25dc402 100644
--- a/stun/rand.c
+++ b/stun/rand.c
@@ -45,7 +45,7 @@
#include <windows.h>
#include <wincrypt.h>
-void nice_RAND_bytes (uint8_t *dst, int len)
+void nice_RAND_nonce (uint8_t *dst, int len)
{
HCRYPTPROV hCryptProv;
LPCSTR container = "Libnice key container";