From 6d28e270f78092019accd4e9a45644487a310106 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20M=C3=B6ller?= <nisse@lysator.liu.se> Date: Sun, 6 Oct 2002 23:13:41 +0200 Subject: [PATCH] * 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 --- sexp2rsa.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/sexp2rsa.c b/sexp2rsa.c index 82410ff6..aaea4fae 100644 --- a/sexp2rsa.c +++ b/sexp2rsa.c @@ -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; -- GitLab