Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fddc15e1 authored by Shawn Willden's avatar Shawn Willden Committed by android-build-merger
Browse files

Merge "Fix bug in VTS attestation cert verification." am: 636650bd

am: 03a2fcd8

Change-Id: I1270383112047ab90d87bee4a483a91bb9093090
parents de6ddb3e 03a2fcd8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -294,7 +294,7 @@ X509* parse_cert_blob(const hidl_vec<uint8_t>& blob) {
}

bool verify_chain(const hidl_vec<hidl_vec<uint8_t>>& chain) {
    for (size_t i = 0; i < chain.size() - 1; ++i) {
    for (size_t i = 0; i < chain.size(); ++i) {
        X509_Ptr key_cert(parse_cert_blob(chain[i]));
        X509_Ptr signing_cert;
        if (i < chain.size() - 1) {