MT#55283 defuse error message

This can be an expected condition

Change-Id: Ib4514e97a3faf45e2a52a3372b59e1c09d8f3176
pull/1126/merge
Richard Fuchs 5 days ago
parent 02ce7f82bd
commit f2d57de078

@ -1637,7 +1637,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