From 680ae77ca1ba047e52074f62b1ebfc56b25e7b1a Mon Sep 17 00:00:00 2001 From: "Restyled.io" Date: Wed, 30 Oct 2024 16:19:43 +0000 Subject: [PATCH] Restyled by clang-format --- .../darwin-framework-tool/commands/common/CHIPToolKeypair.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/darwin-framework-tool/commands/common/CHIPToolKeypair.mm b/examples/darwin-framework-tool/commands/common/CHIPToolKeypair.mm index d7932a8f5bb947..bcbbcf9a206ac2 100644 --- a/examples/darwin-framework-tool/commands/common/CHIPToolKeypair.mm +++ b/examples/darwin-framework-tool/commands/common/CHIPToolKeypair.mm @@ -58,7 +58,7 @@ - (NSData *)signMessageECDSA_RAW:(NSData *)message { chip::Crypto::P256ECDSASignature signature; NSData * out_signature; - CHIP_ERROR signing_error = _mKeyPair.ECDSA_sign_msg((const uint8_t *) [message bytes], (size_t) [message length], signature); + CHIP_ERROR signing_error = _mKeyPair.ECDSA_sign_msg((const uint8_t *) [message bytes], (size_t)[message length], signature); if (signing_error != CHIP_NO_ERROR) return nil; out_signature = [NSData dataWithBytes:signature.Bytes() length:signature.Length()];