From 52dfab65d6822d1281bb62ebc5c46cd2b7501487 Mon Sep 17 00:00:00 2001 From: Steve Holme Date: Sat, 11 May 2019 12:57:42 +0100 Subject: auth: Rename the various authentication clean up functions For consistency and to a avoid confusion. Closes #3869 --- lib/url.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lib/url.c') diff --git a/lib/url.c b/lib/url.c index 02198627e..8dfdd9860 100644 --- a/lib/url.c +++ b/lib/url.c @@ -380,7 +380,7 @@ CURLcode Curl_close(struct Curl_easy *data) data->asi = NULL; #endif #if !defined(CURL_DISABLE_HTTP) && !defined(CURL_DISABLE_CRYPTO_AUTH) - Curl_digest_cleanup(data); + Curl_http_auth_cleanup_digest(data); #endif Curl_safefree(data->info.contenttype); Curl_safefree(data->info.wouldredirect); @@ -697,7 +697,7 @@ static void conn_shutdown(struct connectdata *conn) #if !defined(CURL_DISABLE_HTTP) && defined(USE_NTLM) && \ defined(NTLM_WB_ENABLED) - Curl_ntlm_wb_cleanup(conn); + Curl_http_auth_cleanup_ntlm_wb(conn); #endif /* unlink ourselves. this should be called last since other shutdown @@ -801,11 +801,11 @@ CURLcode Curl_disconnect(struct Curl_easy *data, #if !defined(CURL_DISABLE_HTTP) && defined(USE_NTLM) /* Cleanup NTLM connection-related data */ - Curl_http_ntlm_cleanup(conn); + Curl_http_auth_cleanup_ntlm(conn); #endif #if !defined(CURL_DISABLE_HTTP) && defined(USE_SPNEGO) /* Cleanup NEGOTIATE connection-related data */ - Curl_cleanup_negotiate(conn); + Curl_http_auth_cleanup_negotiate(conn); #endif /* the protocol specific disconnect handler and conn_shutdown need a transfer -- cgit v1.2.1