summaryrefslogtreecommitdiff
path: root/tools/aapt2/StringPool.cpp
diff options
context:
space:
mode:
authorDan Cashman <dcashman@google.com>2018-04-16 14:18:48 -0700
committerDan Cashman <dcashman@google.com>2018-04-16 14:18:48 -0700
commit928b70303c08afda899b23c186b66d0a644bb74c (patch)
treed5daf7fb2ab3678c171a10845fea106d7175ced0 /tools/aapt2/StringPool.cpp
parent61ac57283fecb20d4287b81b293a2579d0386c15 (diff)
InstantAppRegistry: adjust backwards compat cookie sig check.
InstantAppRegistry used to store cookies based on the hash of only one of the signing certificates out of potentially multiple signing certificates. To prevent loss of stored cookie info for an app which has multiple signing certificates, it needs to check if the stored hash value corresponded to only one of those certs before this was corrected. Since the order of signing certificates is not specified, all cert hashes should be compared to see if one of them matches the stored value. Bug: 73739156 Test: android.appsecurity.cts.InstantCookieHostTest#testCookieValidWhenSingedWithTwoCerts Change-Id: I2d616ca7ba60104f0b009d23e8eb4e7f525362fd
Diffstat (limited to 'tools/aapt2/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions