1
0
Fork 0
mirror of https://gitlab.gnome.org/GNOME/calls.git synced 2024-11-04 23:51:17 +00:00

srtp-utils: Pass MKI length into error message

Fixes: 4937723541
This commit is contained in:
Evangelos Ribeiro Tzaras 2023-05-03 13:21:34 +02:00
parent 509456cb50
commit 037d2c55f6

View file

@ -119,7 +119,7 @@ validate_crypto_attribute (calls_srtp_crypto_attribute *attr,
expected_mki_length > 128) { expected_mki_length > 128) {
g_set_error (error, G_IO_ERROR, G_IO_ERROR_FAILED, g_set_error (error, G_IO_ERROR, G_IO_ERROR_FAILED,
"MKI length must be between 1 and 128, got %u", "MKI length must be between 1 and 128, got %u",
expected_key_salt_length); attr->key_params[0].mki_length);
return FALSE; return FALSE;
} }
} }