Skip to content
Snippets Groups Projects
Commit a0357059 authored by Niels Möller's avatar Niels Möller
Browse files

* 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
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment