Skip to content

Commit

Permalink
Merge pull request #1040 from zdohnal/gnutls-use-correct-pointer
Browse files Browse the repository at this point in the history
tls-gnutls.c: Pass gnutls pointer to `gnutls_credentials_set()`
  • Loading branch information
zdohnal authored Sep 4, 2024
2 parents a95ddb3 + d650677 commit 7570c7c
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 @@ -1717,7 +1717,7 @@ _httpTLSStart(http_t *http) // I - Connection to server
}

if (!status && credentials)
status = gnutls_credentials_set(http->tls, GNUTLS_CRD_CERTIFICATE, credentials);
status = gnutls_credentials_set(http->tls, GNUTLS_CRD_CERTIFICATE, credentials->creds);

if (status)
{
Expand Down

0 comments on commit 7570c7c

Please sign in to comment.