summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-05-13 01:36:36 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-05-13 01:36:36 +0000
commiteff189c953f7f8e0b59e68ad22fcae42d91e17b0 (patch)
tree36a8203bcf89af38aa9dd0020fb3089a7c813e13
parent1d327cc595c201fde64da9d06a19b195326f234b (diff)
parentf37f454f3d790a514adc36adb3b3ea79fa1bb379 (diff)
downloadkeymaster-android14-d1-s2-release.tar.gz
Change-Id: I9c21b68d36aa2eeab6e1564978ca501553bc8518
-rw-r--r--contexts/pure_soft_remote_provisioning_context.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/contexts/pure_soft_remote_provisioning_context.cpp b/contexts/pure_soft_remote_provisioning_context.cpp
index 72232ac..fcafec4 100644
--- a/contexts/pure_soft_remote_provisioning_context.cpp
+++ b/contexts/pure_soft_remote_provisioning_context.cpp
@@ -207,6 +207,7 @@ void PureSoftRemoteProvisioningContext::GetHwInfo(GetHwInfoResponse* hwInfo) con
cppcose::ErrMsgOr<cppbor::Array>
PureSoftRemoteProvisioningContext::BuildCsr(const std::vector<uint8_t>& challenge,
cppbor::Array keysToSign) const {
+ LazyInitProdBcc();
uint32_t csrVersion = 3;
auto deviceInfo = std::move(*CreateDeviceInfo(csrVersion));
auto csrPayload = cppbor::Array()