aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/test_pubkey.cpp
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2016-11-02 15:11:13 -0400
committerJack Lloyd <[email protected]>2016-11-03 11:57:11 -0400
commitdcc1ee6d752bfff74bfc67c56e66226dc67f705a (patch)
treead068cdbff60572edcf2ef8a9bd851e3274ec123 /src/tests/test_pubkey.cpp
parent8d50c82b43b34b70d19b0faaeab6b37f2eae066c (diff)
Add create_key self test
Diffstat (limited to 'src/tests/test_pubkey.cpp')
-rw-r--r--src/tests/test_pubkey.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tests/test_pubkey.cpp b/src/tests/test_pubkey.cpp
index 699a7f2df..b37077b33 100644
--- a/src/tests/test_pubkey.cpp
+++ b/src/tests/test_pubkey.cpp
@@ -379,6 +379,8 @@ std::vector<Test::Result> PK_Key_Generation_Test::run()
const Botan::Private_Key& key = *key_p;
+ result.confirm("Key passes self tests", key.check_key(Test::rng(), true));
+
// Test PEM public key round trips OK
try
{