Skip to content

Commit

Permalink
tls-gnutls.c: Fix tls_credentials -> credentials
Browse files Browse the repository at this point in the history
  • Loading branch information
zdohnal committed Oct 21, 2024
1 parent da4c44d commit 7b3fbd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cups/tls-gnutls.c
Original file line number Diff line number Diff line change
Expand Up @@ -1592,7 +1592,7 @@ _httpTLSStart(http_t *http) // I - Connection to server
}

status = gnutls_server_name_set(http->tls, GNUTLS_NAME_DNS, hostname, strlen(hostname));
if (!status && (credentials = _httpUseCredentials(cg->tls_credentials)) == NULL)
if (!status && (credentials = _httpUseCredentials(cg->credentials)) == NULL)
{
if ((credentials = _httpCreateCredentials(NULL, NULL)) == NULL)
status = -1;
Expand Down

0 comments on commit 7b3fbd1

Please sign in to comment.