mirror of
https://github.com/curl/curl.git
synced 2026-08-25 14:23:39 +03:00
docs: Improve inline GSS-API naming in code documentation
This commit is contained in:
parent
e38ba43014
commit
eed1c63c70
8 changed files with 49 additions and 49 deletions
|
|
@ -419,7 +419,7 @@ CURLcode Curl_SOCKS5(const char *proxy_name,
|
|||
#if defined(HAVE_GSSAPI) || defined(USE_WINDOWS_SSPI)
|
||||
socksreq[1] = (char)(proxy_name ? 3 : 2); /* number of methods (below) */
|
||||
socksreq[2] = 0; /* no authentication */
|
||||
socksreq[3] = 1; /* gssapi */
|
||||
socksreq[3] = 1; /* GSS-API */
|
||||
socksreq[4] = 2; /* username/password */
|
||||
#else
|
||||
socksreq[1] = (char)(proxy_name ? 2 : 1); /* number of methods (below) */
|
||||
|
|
@ -474,7 +474,7 @@ CURLcode Curl_SOCKS5(const char *proxy_name,
|
|||
else if(socksreq[1] == 1) {
|
||||
code = Curl_SOCKS5_gssapi_negotiate(sockindex, conn);
|
||||
if(code != CURLE_OK) {
|
||||
failf(data, "Unable to negotiate SOCKS5 gssapi context.");
|
||||
failf(data, "Unable to negotiate SOCKS5 GSS-API context.");
|
||||
return CURLE_COULDNT_CONNECT;
|
||||
}
|
||||
}
|
||||
|
|
@ -636,7 +636,7 @@ CURLcode Curl_SOCKS5(const char *proxy_name,
|
|||
|
||||
#if defined(HAVE_GSSAPI) || defined(USE_WINDOWS_SSPI)
|
||||
if(conn->socks5_gssapi_enctype) {
|
||||
failf(data, "SOCKS5 gssapi protection not yet implemented.");
|
||||
failf(data, "SOCKS5 GSS-API protection not yet implemented.");
|
||||
}
|
||||
else
|
||||
#endif
|
||||
|
|
@ -651,7 +651,7 @@ CURLcode Curl_SOCKS5(const char *proxy_name,
|
|||
|
||||
#if defined(HAVE_GSSAPI) || defined(USE_WINDOWS_SSPI)
|
||||
if(conn->socks5_gssapi_enctype) {
|
||||
failf(data, "SOCKS5 gssapi protection not yet implemented.");
|
||||
failf(data, "SOCKS5 GSS-API protection not yet implemented.");
|
||||
}
|
||||
else
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue