MT#55283 defuse error message

This can be an expected condition

NGCP-Flow: mr14.1
Change-Id: Ib4514e97a3faf45e2a52a3372b59e1c09d8f3176
(cherry picked from commit 151b4db6f9)
mr14.1.1
Richard Fuchs 6 days ago
parent 13254315bd
commit 47d0ac4931

@ -1639,7 +1639,11 @@ static const char *kernelize_target(kernelize_state *s, struct packet_stream *st
if (!handler->in->kernel)
return "protocol not supported by kernel module";
handler->in->kernel(&reti->decrypt, stream);
int ret = handler->in->kernel(&reti->decrypt, stream);
if (ret) {
ilog(LOG_NOTICE, "SRTP not yet negotiated");
return NULL;
}
if (!reti->decrypt.cipher || !reti->decrypt.hmac)
return "decryption cipher or HMAC not supported by kernel module";

Loading…
Cancel
Save