]> git.ipfire.org Git - thirdparty/nettle.git/commitdiff
* sexp2rsa.c (get_value): No need to call sexp_iterator_next
authorNiels Möller <nisse@lysator.liu.se>
Sun, 6 Oct 2002 21:24:57 +0000 (23:24 +0200)
committerNiels Möller <nisse@lysator.liu.se>
Sun, 6 Oct 2002 21:24:57 +0000 (23:24 +0200)
anymore.

Rev: src/nettle/sexp2rsa.c:1.6

sexp2rsa.c

index aaea4fae0f3809039a116cd9c3ca12010691dd9a..51f16d2b33f2c45cf9b65baeb42317ce702d9080 100644 (file)
@@ -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);