diff --git a/testsuite/rsa2sexp-test.c b/testsuite/rsa2sexp-test.c index 3c0d83423fbd1d67768ccae3b03226313ba3a68f..ef6af21a35fdf845fb506092a1f3d6c5c393bd88 100644 --- a/testsuite/rsa2sexp-test.c +++ b/testsuite/rsa2sexp-test.c @@ -50,7 +50,7 @@ test_main(void) ASSERT(rsa_private_key_prepare(&priv)); nettle_buffer_init(&buffer); - ASSERT(rsa_keypair_to_sexp(&buffer, &pub, &priv)); + ASSERT(rsa_keypair_to_sexp(&buffer, "rsa", &pub, &priv)); if (verbose) { @@ -85,7 +85,7 @@ test_main(void) "9ea1a8282e292929")); nettle_buffer_clear(&buffer); - ASSERT(rsa_keypair_to_sexp(&buffer, &pub, NULL)); + ASSERT(rsa_keypair_to_sexp(&buffer, NULL, &pub, NULL)); if (verbose) {