From f4894a07edbc2f23c978f82b02cce76d175a2765 Mon Sep 17 00:00:00 2001 From: hello31337 Date: Sun, 2 Nov 2025 14:44:49 +0000 Subject: [PATCH] Fix: add missing ret=-1 on tee_verify_quote failure (untrusted path) Signed-off-by: Ao Sakurai --- SampleCode/QuoteVerificationSample/App/App.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/SampleCode/QuoteVerificationSample/App/App.cpp b/SampleCode/QuoteVerificationSample/App/App.cpp index adff044f5..5f92cea26 100644 --- a/SampleCode/QuoteVerificationSample/App/App.cpp +++ b/SampleCode/QuoteVerificationSample/App/App.cpp @@ -409,6 +409,7 @@ int ecdsa_quote_verification(vector quote, bool use_qve) else { log("Error: App: tee_verify_quote failed: 0x%04x", dcap_ret); + ret = -1; goto cleanup; }