]> granicus.if.org Git - curl/commit
krb5_gssapi: Only process challenge when present
authorSteve Holme <steve_holme@hotmail.com>
Sun, 3 Apr 2016 16:17:20 +0000 (17:17 +0100)
committerSteve Holme <steve_holme@hotmail.com>
Sun, 3 Apr 2016 16:17:20 +0000 (17:17 +0100)
commit156b8287a7d68569d6a43240fd7ed6b7380193b5
treed98a266e5c20efc006772b299a4aaae6d954fd1c
parent73f1096335d468b5be7c3cc99045479c3314f433
krb5_gssapi: Only process challenge when present

This wouldn't cause a problem because of the way the function is called,
but prior to this change, we were processing the challenge message when
the credentials were NULL rather than when the challenge message was
populated.

This also brings this part of the Kerberos 5 code in line with the
Negotiate code.
lib/vauth/krb5_gssapi.c