]> granicus.if.org Git - curl/commit
krb5_sspi: Only process challenge when present
authorSteve Holme <steve_holme@hotmail.com>
Sun, 3 Apr 2016 10:45:02 +0000 (11:45 +0100)
committerSteve Holme <steve_holme@hotmail.com>
Sun, 3 Apr 2016 10:45:02 +0000 (11:45 +0100)
commit61152e7d9433c868a39be2c9e79a21dae60c0f33
tree2b0b6c81a5acacce0f4a2eb354773a058259558f
parent228cd71c6f08d1d85f875284f6a72f796dec13c4
krb5_sspi: 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_sspi.c