`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.
}
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)
{