[gnutls-devel] [PATCH] Don't match further SRTP profiles after one match has been found

Martin Storsjö martin at martin.st
Thu Dec 20 10:54:09 CET 2012


On Thu, 20 Dec 2012, Martin Storsjo wrote:

> This makes SRTP profile matching more straightforward and intuitive,
> when the first matching SRTP profile will be the one selected, not
> the last one as before.
>
> ---
>
> This makes the client's profile list order decide which one is chosen
> if multiple profiles match. Alternatively, the server could select
> the profile depending on the order of its own list, but that would be
> slightly more complicated.

FWIW, OpenSSL seems to do it the other way around - the server picks the 
one with the highest priority according to its own list, regardless of the 
order sent by the client.

// Martin



More information about the Gnutls-devel mailing list