diff options
author | android-build-team Robot <android-build-team-robot@google.com> | 2019-07-08 18:33:03 +0000 |
---|---|---|
committer | android-build-team Robot <android-build-team-robot@google.com> | 2019-07-08 18:33:03 +0000 |
commit | 333385d557c80e08a9046fef87d943dd1a1612cc (patch) | |
tree | 585d447f1a700e4ea33efe52147ded1bc61a717b | |
parent | c8bf0869f15a0e326d72cde41c9e9c8bfb7209cf (diff) | |
parent | 37718e384178c3b28775e9241e9e6748268077b8 (diff) | |
download | gatekeeper-333385d557c80e08a9046fef87d943dd1a1612cc.tar.gz |
Snap for 5600800 from 37718e384178c3b28775e9241e9e6748268077b8 to pi-platform-release
Change-Id: I568501c1aab4a72634edb1489bc7a298e6a9e827
-rw-r--r-- | gatekeeper.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/gatekeeper.cpp b/gatekeeper.cpp index 0d19816..fe427bd 100644 --- a/gatekeeper.cpp +++ b/gatekeeper.cpp @@ -241,7 +241,6 @@ void GateKeeper::MintAuthToken(UniquePtr<uint8_t> *auth_token, uint32_t *length, uint32_t hash_len = (uint32_t)((uint8_t *)&token->hmac - (uint8_t *)token); ComputeSignature(token->hmac, sizeof(token->hmac), auth_token_key, key_len, reinterpret_cast<uint8_t *>(token), hash_len); - delete[] auth_token_key; } else { memset(token->hmac, 0, sizeof(token->hmac)); } |