mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 08:08:50 -05:00
Enrico Scholz fixed the service name to be uppercase as reported in bug
report #1004105
This commit is contained in:
parent
6b5a04cf83
commit
9c4ffcc250
@ -66,9 +66,9 @@ get_gss_name(struct connectdata *conn, gss_name_t *server)
|
|||||||
/* IIS uses the <service>@<fqdn> form but uses 'http' as the service name */
|
/* IIS uses the <service>@<fqdn> form but uses 'http' as the service name */
|
||||||
|
|
||||||
if (neg_ctx->gss)
|
if (neg_ctx->gss)
|
||||||
service = "khttp";
|
service = "KHTTP";
|
||||||
else
|
else
|
||||||
service = "http";
|
service = "HTTP";
|
||||||
|
|
||||||
token.length = strlen(service) + 1 + strlen(conn->host.name) + 1;
|
token.length = strlen(service) + 1 + strlen(conn->host.name) + 1;
|
||||||
if (token.length + 1 > sizeof(name))
|
if (token.length + 1 > sizeof(name))
|
||||||
|
Loading…
Reference in New Issue
Block a user