summaryrefslogtreecommitdiff
path: root/libdane
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2013-10-29 18:14:12 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2013-10-29 18:14:12 +0100
commit3327d943c46afad17f64b5500663b80059d39aa3 (patch)
treea79297ea7951248a0a2cd41b0f28ef94a924f9e3 /libdane
parent141841135e271f763a20e840b4e8d7803b446bc4 (diff)
downloadgnutls-3327d943c46afad17f64b5500663b80059d39aa3.tar.gz
Removed unused parameter.
Diffstat (limited to 'libdane')
-rw-r--r--libdane/dane.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/libdane/dane.c b/libdane/dane.c
index e4f1ec7604..b9d9ba293c 100644
--- a/libdane/dane.c
+++ b/libdane/dane.c
@@ -685,7 +685,6 @@ dane_verify_crt_raw (dane_state_t s,
unsigned int sflags, unsigned int vflags,
unsigned int *verify)
{
- dane_state_t _s = NULL;
int ret;
unsigned checked = 0;
unsigned int usage, type, match, idx;
@@ -743,8 +742,6 @@ dane_verify_crt_raw (dane_state_t s,
ret = 0;
cleanup:
- if (s == NULL)
- dane_state_deinit (_s);
return ret;
}