diff options
author | Jack Lloyd <[email protected]> | 2017-08-22 10:44:04 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2017-08-22 10:44:04 -0400 |
commit | 7cf116707868a3b38784bd3d80a410a155266db3 (patch) | |
tree | 2c6f7b6964e980872c7d2478ea57d3126e224e88 /src/tests | |
parent | 94b7cc4a28e3d3318d3bf3949ea58f7a70f38535 (diff) |
Simplify botan_privkey_create_XXX
All of these can just forward to botan_privkey_create
Diffstat (limited to 'src/tests')
-rw-r--r-- | src/tests/test_ffi.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/test_ffi.cpp b/src/tests/test_ffi.cpp index 95fb75831..d94fae7ba 100644 --- a/src/tests/test_ffi.cpp +++ b/src/tests/test_ffi.cpp @@ -1579,8 +1579,8 @@ class FFI_Unit_Tests : public Test TEST_FFI_OK(botan_privkey_get_field, (private_scalar, priv1, "x")); TEST_FFI_OK(botan_pubkey_get_field, (public_x, pub1, "public_x")); TEST_FFI_OK(botan_pubkey_get_field, (public_y, pub1, "public_y")); - TEST_FFI_OK(botan_privkey_load_ecdh, (&loaded_privkey1, private_scalar, "secp256r1")); - TEST_FFI_OK(botan_pubkey_load_ecdh, (&loaded_pubkey1, public_x, public_y, "secp256r1")); + REQUIRE_FFI_OK(botan_privkey_load_ecdh, (&loaded_privkey1, private_scalar, "secp256r1")); + REQUIRE_FFI_OK(botan_pubkey_load_ecdh, (&loaded_pubkey1, public_x, public_y, "secp256r1")); TEST_FFI_OK(botan_privkey_check_key, (loaded_privkey1, rng, 0)); TEST_FFI_OK(botan_pubkey_check_key, (loaded_pubkey1, rng, 0)); |