aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/test_ffi.cpp
diff options
context:
space:
mode:
authorDaniel Wyatt <[email protected]>2017-05-13 16:00:22 -0400
committerDaniel Wyatt <[email protected]>2017-05-13 16:00:22 -0400
commit42de5d71f61cdbacaf522ce898f915ceb12db099 (patch)
tree52952ac829308dc8a94fda89953200b54ccf2559 /src/tests/test_ffi.cpp
parent2c5919cd5aa3d7723919f729cab9938df1cc4f94 (diff)
Fix botan_privkey_load_rsa misleading parameter names.
RSA_PrivateKey's constructor take p,q,e,d,n.
Diffstat (limited to 'src/tests/test_ffi.cpp')
-rw-r--r--src/tests/test_ffi.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/test_ffi.cpp b/src/tests/test_ffi.cpp
index 966691b7f..45c4c8a5b 100644
--- a/src/tests/test_ffi.cpp
+++ b/src/tests/test_ffi.cpp
@@ -969,7 +969,7 @@ class FFI_Unit_Tests : public Test
TEST_FFI_RC(-1, botan_privkey_check_key, (loaded_privkey, rng, 0));
botan_privkey_destroy(loaded_privkey);
- TEST_FFI_OK(botan_privkey_load_rsa, (&loaded_privkey, p, q, d));
+ TEST_FFI_OK(botan_privkey_load_rsa, (&loaded_privkey, p, q, e));
TEST_FFI_OK(botan_privkey_check_key, (loaded_privkey, rng, 0));
botan_pubkey_t loaded_pubkey;