diff --git a/cups/tls-gnutls.c b/cups/tls-gnutls.c index 49cd2ed96..ede3e3712 100644 --- a/cups/tls-gnutls.c +++ b/cups/tls-gnutls.c @@ -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) {