From 0c8d646e2d12f4a165ca3e16559a2315ab2fa1e6 Mon Sep 17 00:00:00 2001 From: redraincatching <99604494+redraincatching@users.noreply.github.com> Date: Sun, 11 Feb 2024 04:57:33 +0000 Subject: [PATCH] added missing function prototype of turn_random_number() (#1428) trivial - cmake generated a warning that `ns_turn_msg.c` used a function that had no prior prototype - most other files used the `turn_random()` function but this uses `turn_random_number()` which has no prototype, so i've added it to the header file --- src/client/ns_turn_msg.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/client/ns_turn_msg.h b/src/client/ns_turn_msg.h index 75186b3e..219543b0 100644 --- a/src/client/ns_turn_msg.h +++ b/src/client/ns_turn_msg.h @@ -208,6 +208,7 @@ size_t get_hmackey_size(SHATYPE shatype); #define TURN_RANDOM_SIZE (sizeof(long)) long turn_random(void); +long turn_random_number(void); int stun_produce_integrity_key_str(const uint8_t *uname, const uint8_t *realm, const uint8_t *upwd, hmackey_t key, SHATYPE shatype);