From 8f45fb526d0115a016e0cd31c096f0d68346c94e Mon Sep 17 00:00:00 2001 From: David Woodhouse Date: Wed, 6 Mar 2013 21:37:40 +0000 Subject: [PATCH] Stop using deprecated gnutls_x509_crt type Signed-off-by: David Woodhouse --- gnutls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnutls.c b/gnutls.c index f67aa130..3ab15965 100644 --- a/gnutls.c +++ b/gnutls.c @@ -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));