aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/prov/tpm
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/prov/tpm')
-rw-r--r--src/lib/prov/tpm/tpm.cpp2
-rw-r--r--src/lib/prov/tpm/tpm.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/prov/tpm/tpm.cpp b/src/lib/prov/tpm/tpm.cpp
index b3a846d4e..936bb869d 100644
--- a/src/lib/prov/tpm/tpm.cpp
+++ b/src/lib/prov/tpm/tpm.cpp
@@ -359,7 +359,7 @@ std::vector<byte> TPM_PrivateKey::public_key_bits() const
.get_contents_unlocked();
}
-secure_vector<byte> TPM_PrivateKey::pkcs8_private_key() const
+secure_vector<byte> TPM_PrivateKey::private_key_bits() const
{
throw TPM_Error("PKCS #8 export not supported for TPM keys");
}
diff --git a/src/lib/prov/tpm/tpm.h b/src/lib/prov/tpm/tpm.h
index f776f09e7..de0fa364f 100644
--- a/src/lib/prov/tpm/tpm.h
+++ b/src/lib/prov/tpm/tpm.h
@@ -156,7 +156,7 @@ class BOTAN_DLL TPM_PrivateKey : public Private_Key
std::vector<byte> public_key_bits() const override;
- secure_vector<byte> pkcs8_private_key() const override;
+ secure_vector<byte> private_key_bits() const override;
bool check_key(RandomNumberGenerator& rng, bool) const override;