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

Commit cd77d3c8 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

am: fddc15e1

Change-Id: Ie7f182f0d712bb38b0c5d98dbd5ce8cc3fbc6cec
parents 4a3c48bc fddc15e1
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) {