Commit a0357059 authored by Niels Möller's avatar Niels Möller

* sexp2rsa.c (rsa_keypair_from_sexp): Use sexp_iterator_first.

* testsuite/sexp-test.c (test_main): Likewise.

Rev: src/nettle/sexp2rsa.c:1.4
parent 9701e2dd
......@@ -66,9 +66,7 @@ rsa_keypair_from_sexp(struct rsa_public_key *pub,
struct sexp_iterator values[8];
unsigned nvalues;
sexp_iterator_init(&i, length, expr);
if (!sexp_iterator_next(&i))
if (!sexp_iterator_first(&i, length, expr))
return 0;
if (priv)
......
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