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

Commit ce26f592 authored by Raphael Kim's avatar Raphael Kim
Browse files

Set default state for secure channel attestation result to non-success.

Bug: 379565396
Change-Id: I90f16b1d3596aefa07cba116c1626b158b96dcbc
Test: Manual
Flag: EXEMPT bugfix
parent 99e033fd
Loading
Loading
Loading
Loading
+3 −1
Original line number Original line Diff line number Diff line
@@ -16,6 +16,8 @@


package com.android.server.companion.securechannel;
package com.android.server.companion.securechannel;


import static android.security.attestationverification.AttestationVerificationManager.FLAG_FAILURE_UNKNOWN;

import android.annotation.NonNull;
import android.annotation.NonNull;
import android.content.Context;
import android.content.Context;
import android.os.Build;
import android.os.Build;
@@ -67,7 +69,7 @@ public class SecureChannel {
    private D2DConnectionContextV1 mConnectionContext;
    private D2DConnectionContextV1 mConnectionContext;


    private String mAlias;
    private String mAlias;
    private int mVerificationResult;
    private int mVerificationResult = FLAG_FAILURE_UNKNOWN;
    private boolean mPskVerified;
    private boolean mPskVerified;