summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2016-10-03 10:22:44 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2016-10-03 10:22:44 +0200
commit5668ea413597a0a6fc0128ec278f7da3eb884ed8 (patch)
tree69b63821216f04bef0148669100e121b3406cd51 /lib
parent631349c9ff0a17752cc88c980456998937a456e4 (diff)
downloadgnutls-5668ea413597a0a6fc0128ec278f7da3eb884ed8.tar.gz
name constraints: removed unused variable
Diffstat (limited to 'lib')
-rw-r--r--lib/x509/name_constraints.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/x509/name_constraints.c b/lib/x509/name_constraints.c
index 196e6d9f33..7ae45c003d 100644
--- a/lib/x509/name_constraints.c
+++ b/lib/x509/name_constraints.c
@@ -814,8 +814,6 @@ name_constraints_intersect_nodes(name_constraints_node_st * nc1,
}
// copy existing node if applicable
if (to_copy != NULL) {
- unsigned byte;
-
*_intersection = name_constraints_node_new(to_copy->type, to_copy->name.data, to_copy->name.size);
if (*_intersection == NULL)
return gnutls_assert_val(GNUTLS_E_MEMORY_ERROR);