]> git.ipfire.org Git - thirdparty/curl.git/commit
vauth: Use CURLE_AUTH_ERROR for auth function errors
authorJay Satiro <raysatiro@yahoo.com>
Sat, 11 May 2019 06:23:09 +0000 (02:23 -0400)
committerJay Satiro <raysatiro@yahoo.com>
Wed, 14 Aug 2019 07:14:01 +0000 (03:14 -0400)
commitdca6f73613d8b578687bd4aeeedd198f9644bb53
treebe2274068f71d0fae6b7211181f0f10d5dfe936a
parentaae490229b733a41223d8b806103cedf6bd757a0
vauth: Use CURLE_AUTH_ERROR for auth function errors

- Add new error code CURLE_AUTH_ERROR.

Prior to this change auth function errors were signaled by
CURLE_OUT_OF_MEMORY and CURLE_RECV_ERROR, and neither one was
technically correct.

Ref: https://github.com/curl/curl/pull/3848

Co-authored-by: Dominik Hölzl
Closes https://github.com/curl/curl/pull/3864
docs/libcurl/libcurl-errors.3
docs/libcurl/symbols-in-versions
include/curl/curl.h
lib/strerror.c
lib/vauth/digest_sspi.c
lib/vauth/krb5_gssapi.c
lib/vauth/krb5_sspi.c
lib/vauth/ntlm_sspi.c
lib/vauth/spnego_gssapi.c
lib/vauth/spnego_sspi.c
tests/data/test1538