Commit 8f45fb52 authored by David Woodhouse's avatar David Woodhouse

Stop using deprecated gnutls_x509_crt type

Signed-off-by: default avatarDavid Woodhouse <David.Woodhouse@intel.com>
parent 7a5823bb
......@@ -1791,7 +1791,7 @@ int openconnect_open_https(struct openconnect_info *vpninfo)
/* For GnuTLS 3.x We should use gnutls_x509_crt_list_import2() */
nr_certs = count_x509_certificates(&datum);
if (nr_certs) {
gnutls_x509_crt *certs;
gnutls_x509_crt_t *certs;
int i;
certs = calloc(nr_certs, sizeof(*certs));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment