mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 01:26:58 +00:00
[Build-System] Update libsrtp to 2.4.0
This commit is contained in:
@@ -101,10 +101,6 @@ srtp_err_status_t srtp_crypto_kernel_init()
|
||||
if (status) {
|
||||
return status;
|
||||
}
|
||||
status = srtp_crypto_kernel_load_debug_module(&srtp_mod_stat);
|
||||
if (status) {
|
||||
return status;
|
||||
}
|
||||
status = srtp_crypto_kernel_load_debug_module(&srtp_mod_alloc);
|
||||
if (status) {
|
||||
return status;
|
||||
@@ -130,18 +126,18 @@ srtp_err_status_t srtp_crypto_kernel_init()
|
||||
if (status) {
|
||||
return status;
|
||||
}
|
||||
#ifdef OPENSSL
|
||||
#ifdef GCM
|
||||
status = srtp_crypto_kernel_load_cipher_type(&srtp_aes_icm_192,
|
||||
SRTP_AES_ICM_192);
|
||||
if (status) {
|
||||
return status;
|
||||
}
|
||||
status = srtp_crypto_kernel_load_cipher_type(&srtp_aes_gcm_128_openssl,
|
||||
status = srtp_crypto_kernel_load_cipher_type(&srtp_aes_gcm_128,
|
||||
SRTP_AES_GCM_128);
|
||||
if (status) {
|
||||
return status;
|
||||
}
|
||||
status = srtp_crypto_kernel_load_cipher_type(&srtp_aes_gcm_256_openssl,
|
||||
status = srtp_crypto_kernel_load_cipher_type(&srtp_aes_gcm_256,
|
||||
SRTP_AES_GCM_256);
|
||||
if (status) {
|
||||
return status;
|
||||
@@ -277,7 +273,8 @@ static inline srtp_err_status_t srtp_crypto_kernel_do_load_cipher_type(
|
||||
srtp_cipher_type_id_t id,
|
||||
int replace)
|
||||
{
|
||||
srtp_kernel_cipher_type_t *ctype, *new_ctype;
|
||||
srtp_kernel_cipher_type_t *ctype;
|
||||
srtp_kernel_cipher_type_t *new_ctype = NULL;
|
||||
srtp_err_status_t status;
|
||||
|
||||
/* defensive coding */
|
||||
@@ -354,7 +351,8 @@ srtp_err_status_t srtp_crypto_kernel_do_load_auth_type(
|
||||
srtp_auth_type_id_t id,
|
||||
int replace)
|
||||
{
|
||||
srtp_kernel_auth_type_t *atype, *new_atype;
|
||||
srtp_kernel_auth_type_t *atype;
|
||||
srtp_kernel_auth_type_t *new_atype = NULL;
|
||||
srtp_err_status_t status;
|
||||
|
||||
/* defensive coding */
|
||||
|
Reference in New Issue
Block a user