]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
tls-gnutls.c: Fix tls_credentials -> credentials
authorZdenek Dohnal <zdohnal@redhat.com>
Mon, 21 Oct 2024 11:30:15 +0000 (13:30 +0200)
committerZdenek Dohnal <zdohnal@redhat.com>
Mon, 21 Oct 2024 11:30:15 +0000 (13:30 +0200)
cups/tls-gnutls.c

index 74c3859ac4e4677a14f18c75e997270820021884..db5801ca84f5e772621686eb2bb4e93563379387 100644 (file)
@@ -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;