Commit 7e81c35c authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

to build with old gnutls verions, don't use the *_t types

parent 0f125d9b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -176,7 +176,7 @@ static CURLcode handshake(struct connectdata *conn,
  return CURLE_OK;
}

static gnutls_x509_crt_fmt_t do_file_type(const char *type)
static gnutls_x509_crt_fmt do_file_type(const char *type)
{
  if(!type || !type[0])
    return GNUTLS_X509_FMT_PEM;