summaryrefslogtreecommitdiffstats
path: root/crypto/ext4crypt/Keymaster4.h
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/ext4crypt/Keymaster4.h')
-rw-r--r--crypto/ext4crypt/Keymaster4.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/ext4crypt/Keymaster4.h b/crypto/ext4crypt/Keymaster4.h
index 14c230bfd..704cc2c70 100644
--- a/crypto/ext4crypt/Keymaster4.h
+++ b/crypto/ext4crypt/Keymaster4.h
@@ -103,7 +103,7 @@ class Keymaster {
// Generate a key in the keymaster from the given params.
bool generateKey(const km::AuthorizationSet& inParams, std::string* key);
// Export a key from keymaster.
- bool exportKey(km::KeyFormat format, KeyBuffer& kmKey, const std::string& clientId,
+ km::ErrorCode exportKey(km::KeyFormat format, KeyBuffer& kmKey, const std::string& clientId,
const std::string& appData, std::string* key);
// If the keymaster supports it, permanently delete a key.
bool deleteKey(const std::string& key);