diff options
author | Niels Möller <nisse@lysator.liu.se> | 2002-10-06 23:13:41 +0200 |
---|---|---|
committer | Niels Möller <nisse@lysator.liu.se> | 2002-10-06 23:13:41 +0200 |
commit | 6d28e270f78092019accd4e9a45644487a310106 (patch) | |
tree | 5dea8c53fcc7f39ab770548373567ddf1bff0c9f /sexp2rsa.c | |
parent | d0c15a0c90e183ad183a2ee91ed2426eace8472a (diff) | |
download | nettle-6d28e270f78092019accd4e9a45644487a310106.tar.gz |
* 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
Diffstat (limited to 'sexp2rsa.c')
-rw-r--r-- | sexp2rsa.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -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; |