fix #2968287 - Auth failure if home server is v2 and director is v > 2
commitda4736763659cd6fc9933cdcf5dcb4b6bbe50433
authorpier11 <pier11@operamail.com>
Thu, 11 Mar 2010 07:36:23 +0000 (11 07:36 +0000)
committerAnibal Avelar <aavelar@cofradia.org>
Tue, 16 Mar 2010 07:57:04 +0000 (16 01:57 -0600)
treec2a9211700480403ef62644837156543b3a99900
parent80c2edd0b316c1641b6cb7cdde225fb7369c5b09
fix #2968287 - Auth failure if home server is v2 and director is v > 2
because of non clean up auth protocol version in redirection
scenario. Server with auth v2 (LCS 2005-) doesn't explicitly send
version of auth protocol, so the value was not reset.

Auth protocol versions by server:
2005 - v2 (version is not sent explicitly)
2007 - v3, v4(after update)
2007 R2 - v4
(cherry picked from commit 494c1e467b13de295a30bcd0981fa7311f218e9a)
src/core/sipe.c