From 99c920c07fc701cc0a62bac452dfb0258fef8f9e Mon Sep 17 00:00:00 2001 From: Evgeni Margolis Date: Wed, 5 Oct 2022 15:00:30 -0700 Subject: [PATCH] [tinycrypt] bugfix: Missing return on success --- src/crypto/CHIPCryptoPALTinyCrypt.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/crypto/CHIPCryptoPALTinyCrypt.cpp b/src/crypto/CHIPCryptoPALTinyCrypt.cpp index 3af44e91c933bc..86fffbdad55c08 100644 --- a/src/crypto/CHIPCryptoPALTinyCrypt.cpp +++ b/src/crypto/CHIPCryptoPALTinyCrypt.cpp @@ -1604,6 +1604,7 @@ CHIP_ERROR ExtractKIDFromX509Cert(bool extractSKID, const ByteSpan & certificate { kid.reduce_size(len); } + ExitNow(error = CHIP_NO_ERROR); break; } p += len;