summaryrefslogtreecommitdiffstats
path: root/keymaster
diff options
context:
space:
mode:
authorJanis Danisevskis <jdanis@google.com>2018-11-12 12:03:30 -0800
committerJanis Danisevskis <jdanis@google.com>2018-11-12 12:06:32 -0800
commit28a6b79f4b15d60d81984b1ea99a3240bb029530 (patch)
tree54569ae76e9705aaeddbe99cf4b24f00361d326e /keymaster
parentf1d854616ed20cdd0b33e7f393be398d55d08cc1 (diff)
downloadandroid_hardware_interfaces-28a6b79f4b15d60d81984b1ea99a3240bb029530.tar.gz
android_hardware_interfaces-28a6b79f4b15d60d81984b1ea99a3240bb029530.tar.bz2
android_hardware_interfaces-28a6b79f4b15d60d81984b1ea99a3240bb029530.zip
authorization_set.cpp: relax serialization of unknown tags
Bug: 119414176 Change-Id: I16722f2a2b1a00a352322c603d2bf18a996d6ee7
Diffstat (limited to 'keymaster')
-rw-r--r--keymaster/4.0/support/authorization_set.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/keymaster/4.0/support/authorization_set.cpp b/keymaster/4.0/support/authorization_set.cpp
index 10d272a9b..b6cba616a 100644
--- a/keymaster/4.0/support/authorization_set.cpp
+++ b/keymaster/4.0/support/authorization_set.cpp
@@ -261,9 +261,8 @@ struct choose_serializer<MetaList<Tags...>> {
template <>
struct choose_serializer<> {
static OutStreams& serialize(OutStreams& out, const KeyParameter& param) {
- LOG(FATAL) << "Trying to serialize unknown tag " << unsigned(param.tag)
+ LOG(ERROR) << "Trying to serialize unknown tag " << unsigned(param.tag)
<< ". Did you forget to add it to all_tags_t?";
- abort();
return out;
}
};