extern void _httpTLSStop(http_t *http) _CUPS_PRIVATE;
extern int _httpTLSWrite(http_t *http, const char *buf, int len) _CUPS_PRIVATE;
extern int _httpUpdate(http_t *http, http_status_t *status) _CUPS_PRIVATE;
+extern _http_tls_credentials_t *_httpUseCredentials(_http_tls_credentials_t *hcreds) _CUPS_PRIVATE;
extern int _httpWait(http_t *http, int msec, int usessl) _CUPS_PRIVATE;
}
status = gnutls_server_name_set(http->tls, GNUTLS_NAME_DNS, hostname, strlen(hostname));
- credentials = _httpUseCredentials(cg->credentials);
+ credentials = _httpUseCredentials(cg->tls_credentials);
}
else
{
}
decoded = (size_t)(alloc_data - num_data);
- httpDecode64((char *)data + num_data, &decoded, line, NULL);
+ httpDecode64_3((char *)data + num_data, &decoded, line, NULL);
num_data += (size_t)decoded;
}
}