]> granicus.if.org Git - curl/commit
sasl_sspi: Corrected some of the GSSAPI security message error codes
authorSteve Holme <steve_holme@hotmail.com>
Sun, 17 Aug 2014 21:36:22 +0000 (22:36 +0100)
committerSteve Holme <steve_holme@hotmail.com>
Sun, 17 Aug 2014 21:38:25 +0000 (22:38 +0100)
commitf6e15d25a38d285932016486a33a44515faa6ebc
treecd3ced548f6d6a62f447bcd6532f7bf8d7742e01
parent75be5a6681df6aa0d1bb90d20339ea3b25123d6e
sasl_sspi: Corrected some of the GSSAPI security message error codes

Corrected a number of the error codes that can be returned from the
Curl_sasl_create_gssapi_security_message() function when things go
wrong.

It makes more sense to return CURLE_BAD_CONTENT_ENCODING when the
inbound security challenge can't be decoded correctly or doesn't
contain the KERB_WRAP_NO_ENCRYPT flag and CURLE_OUT_OF_MEMORY when
EncryptMessage() fails. Unfortunately the previous error code of
CURLE_RECV_ERROR was a copy and paste mistakes on my part and should
have been correct in commit 4b491c675f :(
lib/curl_sasl_sspi.c