summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--keystore/blob.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/keystore/blob.cpp b/keystore/blob.cpp
index c3956f0..0a72d5b 100644
--- a/keystore/blob.cpp
+++ b/keystore/blob.cpp
@@ -170,7 +170,7 @@ Blob::Blob(const uint8_t* value, size_t valueLength, const uint8_t* info, uint8_
mBlob.version = CURRENT_BLOB_VERSION;
mBlob.type = uint8_t(type);
- if (type == TYPE_MASTER_KEY) {
+ if (type == TYPE_MASTER_KEY || type == TYPE_MASTER_KEY_AES256) {
mBlob.flags = KEYSTORE_FLAG_ENCRYPTED;
} else {
mBlob.flags = KEYSTORE_FLAG_NONE;