I would like to understand what the function eXosip_find_authentication_info does.
the checks for the exact match of username and realm are ok.
but what does this condition mean ?
0 == osip_strncasecmp (realm + 1, authinfo->realm, strlen (realm) - 2)
why realm+1 ?
why the length of realm -2 ?
a comment in the code would help …