aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/ffi/ffi_pkey.cpp
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2017-09-28 18:42:40 -0400
committerJack Lloyd <[email protected]>2017-09-28 18:42:40 -0400
commitefe2f1ce175896a092c0368ed682e3314d0ba3a8 (patch)
tree96868988e6ef3973f79a854547b2df2aa0cb2e6b /src/lib/ffi/ffi_pkey.cpp
parentc1edbe9c436dfffa9d7def0f99497e9c7e19c210 (diff)
Further header cleanups
Diffstat (limited to 'src/lib/ffi/ffi_pkey.cpp')
-rw-r--r--src/lib/ffi/ffi_pkey.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/ffi/ffi_pkey.cpp b/src/lib/ffi/ffi_pkey.cpp
index bea012e5f..16b3a4208 100644
--- a/src/lib/ffi/ffi_pkey.cpp
+++ b/src/lib/ffi/ffi_pkey.cpp
@@ -11,6 +11,7 @@
#include <botan/data_src.h>
#include <botan/hash.h>
#include <botan/pkcs8.h>
+#include <botan/pk_keys.h>
#include <botan/x509_key.h>
#include <botan/pk_algs.h>
@@ -62,7 +63,7 @@ int botan_privkey_load(botan_privkey_t* key, botan_rng_t rng_obj,
Botan::RandomNumberGenerator& rng = safe_get(rng_obj);
- std::unique_ptr<Botan::PKCS8_PrivateKey> pkcs8;
+ std::unique_ptr<Botan::Private_Key> pkcs8;
if(password == nullptr)
{