aboutsummaryrefslogtreecommitdiffstats
path: root/checks/pk_bench.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'checks/pk_bench.cpp')
-rw-r--r--checks/pk_bench.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/checks/pk_bench.cpp b/checks/pk_bench.cpp
index bed0cfd7a..e2b6877eb 100644
--- a/checks/pk_bench.cpp
+++ b/checks/pk_bench.cpp
@@ -436,7 +436,7 @@ void bench_kas(PK_Key_Agreement* kas, const std::string& algo_name,
*************************************************/
RSA_PrivateKey* load_rsa_key(const std::string& file)
{
- PKCS8_PrivateKey* key = PKCS8::load_key(file);
+ Private_Key* key = PKCS8::load_key(file);
RSA_PrivateKey* rsakey = dynamic_cast<RSA_PrivateKey*>(key);