From d56812d9a4ef8e2ba1fbac525ae11a2dc28fef14 Mon Sep 17 00:00:00 2001 From: René Korthaus Date: Mon, 5 Dec 2016 21:26:21 +0100 Subject: Fix TPM private_key_bits() exception message --- src/lib/prov/tpm/tpm.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib') diff --git a/src/lib/prov/tpm/tpm.cpp b/src/lib/prov/tpm/tpm.cpp index 936bb869d..e1f214952 100644 --- a/src/lib/prov/tpm/tpm.cpp +++ b/src/lib/prov/tpm/tpm.cpp @@ -361,7 +361,7 @@ std::vector TPM_PrivateKey::public_key_bits() const secure_vector TPM_PrivateKey::private_key_bits() const { - throw TPM_Error("PKCS #8 export not supported for TPM keys"); + throw TPM_Error("Private key export not supported for TPM keys"); } std::vector TPM_PrivateKey::export_blob() const -- cgit v1.2.3