]> git.ipfire.org Git - thirdparty/cups.git/commit
tls-gnutls.c: Pass gnutls pointer to `gnutls_credentials_set()` 1040/head
authorZdenek Dohnal <zdohnal@redhat.com>
Fri, 30 Aug 2024 05:34:04 +0000 (07:34 +0200)
committerZdenek Dohnal <zdohnal@redhat.com>
Fri, 30 Aug 2024 05:34:04 +0000 (07:34 +0200)
commitd6506773b51038491c59ace92f6ca0bcf53356cb
tree2dae3302675dc731438434c7f1bcda1300eb00db
parent4bada6c6cbf3426b54443d7cb598037578c2fc2b
tls-gnutls.c: Pass gnutls pointer to `gnutls_credentials_set()`

`credentials` changed type in 2.5, now gnutls pointer, which is needed
for the mentioned function, is a member of new structure which is
`credentials` now, so pass `credential->creds` to the function,
otherwise it crashes.

Found out during running the test suite with gnutls enabled.
cups/tls-gnutls.c