Commit 080ebce5 authored by Niels Möller's avatar Niels Möller
Browse files

* sexp.c (sexp_iterator_assoc): Advance the iterator to the

element after a matching tag, before recording it.

Rev: src/nettle/sexp.c:1.8
parent 032a557e
......@@ -266,6 +266,10 @@ sexp_iterator_assoc(struct sexp_iterator *iterator,
/* We don't allow duplicates */
return 0;
/* Advance to point to value */
if (!sexp_iterator_next(iterator))
return 0;
found[i] = 1;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment