aboutsummaryrefslogtreecommitdiff
path: root/lib/socks_sspi.c
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2014-08-17 22:36:22 +0100
committerSteve Holme <steve_holme@hotmail.com>2014-08-17 22:38:25 +0100
commitf6e15d25a38d285932016486a33a44515faa6ebc (patch)
treecd3ced548f6d6a62f447bcd6532f7bf8d7742e01 /lib/socks_sspi.c
parent75be5a6681df6aa0d1bb90d20339ea3b25123d6e (diff)
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 :(
Diffstat (limited to 'lib/socks_sspi.c')
0 files changed, 0 insertions, 0 deletions