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

This commit is contained in:
Daniel Stenberg 2005-11-13 23:04:28 +00:00
parent 0f125d9bcf
commit 7e81c35cdc

View File

@ -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;