Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Stop using deprecated gnutls_x509_crt type
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
  • Loading branch information
David Woodhouse authored and David Woodhouse committed Mar 6, 2013
1 parent 7a5823b commit 8f45fb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gnutls.c
Expand Up @@ -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));
Expand Down

0 comments on commit 8f45fb5

Please sign in to comment.