Commit 6d28e270 authored by Niels Möller's avatar Niels Möller

* sexp2rsa.c (rsa_keypair_from_sexp): No need to call

sexp_iterator_next anymore.

* sexp2rsa.c (rsa_keypair_from_sexp): Use sexp_iterator_first.
* testsuite/sexp-test.c (test_main): Likewise.

Rev: src/nettle/sexp2rsa.c:1.5
parent d0c15a0c
......@@ -83,9 +83,6 @@ rsa_keypair_from_sexp(struct rsa_public_key *pub,
if (!sexp_iterator_check_type(&i, outer))
return 0;
if (!sexp_iterator_next(&i))
return 0;
if (!sexp_iterator_check_types(&i, 3, names))
return 0;
......
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