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

(sexp_iterator_next): Abort if iterator type is boogus.

Rev: src/nettle/sexp.c:1.10
parent e8d48357
...@@ -172,6 +172,8 @@ sexp_iterator_next(struct sexp_iterator *iterator) ...@@ -172,6 +172,8 @@ sexp_iterator_next(struct sexp_iterator *iterator)
* element. */ * element. */
return sexp_iterator_parse(iterator); return sexp_iterator_parse(iterator);
} }
/* If we get here, we have a bug. */
abort();
} }
/* Current element must be a list. */ /* Current element must be a list. */
......
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