sign: fix protocol name for TLS-DSK
commit715828d26c33f1bb38d8eda7e403318a16bcbf0b
authorStefan Becker <chemobejk@gmail.com>
Wed, 23 Nov 2011 22:23:28 +0000 (24 00:23 +0200)
committerStefan Becker <chemobejk@gmail.com>
Wed, 23 Nov 2011 22:23:28 +0000 (24 00:23 +0200)
tree04c63f10a4d69ea640c663fa797952d4aada8b3c
parent17b2bd335b38fb30271520734b8e63e4d1289b91
sign: fix protocol name for TLS-DSK

sipmsg_breakdown_parse() was hard-coded to Kerberos or NTLM. Now we
supply the protocol name directly from sip-transport.c and generate the
correct message signature for TLS-DSK.

This was the last piece missing to get a successful MAC calculation and
verification with TLS-DSK.

                 *** THE EAGLE HAS LANDED!!! ***

BTW: Lync365 rejects non-Lync clients with a non-standard 403 Forbidden
response. Make sure to change the User Agent value in your account!
src/core/sip-sec-ntlm-tests.c
src/core/sip-transport.c
src/core/sipe-sign.c
src/core/sipe-sign.h