Commit 697039a8 authored by Niels Möller's avatar Niels Möller

* sexp2rsa.c (get_value): No need to call sexp_iterator_next

anymore.

Rev: src/nettle/sexp2rsa.c:1.6
parent 080ebce5
......@@ -38,8 +38,7 @@
static int
get_value(mpz_t x, struct sexp_iterator *i)
{
if (sexp_iterator_next(i)
&& i->type == SEXP_ATOM
if (i->type == SEXP_ATOM
&& !i->display)
{
nettle_mpz_set_str_256(x, i->atom_length, i->atom);
......
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