aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/test_clang_bug.cpp
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2020-12-14 08:57:49 -0500
committerJack Lloyd <[email protected]>2020-12-14 08:59:58 -0500
commit2dd662b85abfe545bfe12c4952a8f61a45de8ca3 (patch)
tree6aba3751cc8255d3dec5f46dbc3290036be355d1 /src/tests/test_clang_bug.cpp
parent9b5e3fb65e660d6b4830acdd50bda8f0165c5181 (diff)
Avoid using deprecated functions for key loading
Also update the documentation a bit, this area is really out of date
Diffstat (limited to 'src/tests/test_clang_bug.cpp')
-rw-r--r--src/tests/test_clang_bug.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/test_clang_bug.cpp b/src/tests/test_clang_bug.cpp
index 333ceb5a2..96911a544 100644
--- a/src/tests/test_clang_bug.cpp
+++ b/src/tests/test_clang_bug.cpp
@@ -95,7 +95,7 @@ class Clang_Bug_41810 final : public Test
try
{
- Botan::PKCS8::load_key(ds, Test::rng(), pw);
+ Botan::PKCS8::load_key(ds, pw);
result.test_failure("load_key should have thrown due to wrong password");
}
catch(const std::exception&)