security: Kerberos init step can be called multiple times
commitf78dc54b3a95b1245369f274d010c0cb22e9a8df
authorStefan Becker <chemobejk@gmail.com>
Fri, 22 Feb 2013 14:16:52 +0000 (22 16:16 +0200)
committerStefan Becker <chemobejk@gmail.com>
Sat, 23 Feb 2013 15:16:11 +0000 (23 17:16 +0200)
treee4179e951f7eb0aac7a299be3934691452b5f058
parentba36bf6ea0335c9c16383d606be5fc0e307c977b
security: Kerberos init step can be called multiple times

This is related to commit 5f25b5477a032c124c630fbe0856fd3716e51da2

When the HTTP connection is re-used the security context is not cleared.
Therefore sip_sec_init_sec_context__krb5() can be called more than once.
Don't delete the credentials after the first initialization, delete the
old context and request a new one for the credentials.
src/core/sip-sec-krb5.c