diff --git a/sexp2rsa.c b/sexp2rsa.c
index 82410ff61e36618233a3bb9f5cdd2ef84b46e730..aaea4fae0f3809039a116cd9c3ca12010691dd9a 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;