to build with old gnutls verions, don't use the *_t types
authorDaniel Stenberg <daniel@haxx.se>
Sun, 13 Nov 2005 23:04:28 +0000 (23:04 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Sun, 13 Nov 2005 23:04:28 +0000 (23:04 +0000)
lib/gtls.c

index cc33dea..5d3959c 100644 (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;