summaryrefslogtreecommitdiff
path: root/lib/system.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2013-03-05 21:33:38 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2013-03-05 21:33:38 +0100
commitb02cdf88fa1cc4f224707b255d8a146ccac949f4 (patch)
treecb8dc09cc522c59894c682036865993f3ef79348 /lib/system.c
parent5eb64ff2eab8dc02876123e21d1230808fe75008 (diff)
downloadgnutls-b02cdf88fa1cc4f224707b255d8a146ccac949f4.tar.gz
corrected parameters.
Diffstat (limited to 'lib/system.c')
-rw-r--r--lib/system.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/system.c b/lib/system.c
index 855b629534..b79bbd0856 100644
--- a/lib/system.c
+++ b/lib/system.c
@@ -499,8 +499,7 @@ char path[GNUTLS_PATH_MAX];
return r;
}
-static int load_revoked_certs(gnutls_x509_trust_list_t list,
- unsigned int tl_flags, unsigned int tl_vflags, unsigned type)
+static int load_revoked_certs(gnutls_x509_trust_list_t list, unsigned type)
{
DIR * dirp;
struct dirent *d;
@@ -545,7 +544,7 @@ int add_system_trust(gnutls_x509_trust_list_t list, unsigned int tl_flags, unsig
if (ret >= 0)
r += ret;
- ret = load_revoked_certs(list, tl_flags, tl_vflags);
+ ret = load_revoked_certs(list, GNUTLS_X509_FMT_DER);
if (ret >= 0)
r -= ret;
@@ -723,4 +722,3 @@ const char *src = data;
return 0;
}
#endif
-