mirror of
https://github.com/coturn/coturn.git
synced 2026-05-05 10:46:10 +02:00
compilation warning fixed
This commit is contained in:
parent
2fc214d5b5
commit
210b9a14aa
@ -1999,7 +1999,8 @@ static void normalize_algorithm(char *s)
|
||||
}
|
||||
}
|
||||
|
||||
static size_t calculate_enc_key_length(ENC_ALG a)
|
||||
size_t calculate_enc_key_length(ENC_ALG a);
|
||||
size_t calculate_enc_key_length(ENC_ALG a)
|
||||
{
|
||||
switch(a) {
|
||||
#if !defined(TURN_NO_GCM)
|
||||
@ -2013,7 +2014,8 @@ static size_t calculate_enc_key_length(ENC_ALG a)
|
||||
return 32;
|
||||
}
|
||||
|
||||
static size_t calculate_auth_key_length(ENC_ALG a)
|
||||
size_t calculate_auth_key_length(ENC_ALG a);
|
||||
size_t calculate_auth_key_length(ENC_ALG a)
|
||||
{
|
||||
switch(a) {
|
||||
#if !defined(TURN_NO_GCM)
|
||||
@ -2028,8 +2030,10 @@ static size_t calculate_auth_key_length(ENC_ALG a)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int calculate_key(char *key, size_t key_size,
|
||||
char *new_key, size_t new_key_size)
|
||||
int calculate_key(char *key, size_t key_size,
|
||||
char *new_key, size_t new_key_size);
|
||||
int calculate_key(char *key, size_t key_size,
|
||||
char *new_key, size_t new_key_size)
|
||||
{
|
||||
UNUSED_ARG(key_size);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user