Skip to content

Commit a13a466

Browse files
[nrf noup] Fixed issues due to wrong conflict resolution
Fixed two problems leading to compilation error that appeared due to some incorrect conflicts resolution. Signed-off-by: Kamil Kasperczyk <kamil.kasperczyk@nordicsemi.no>
1 parent aa538d6 commit a13a466

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

src/platform/nrfconnect/CHIPDevicePlatformConfig.h

-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@
6161
#define CHIP_DEVICE_CONFIG_USE_TEST_SPAKE2P_ITERATION_COUNT CONFIG_CHIP_DEVICE_SPAKE2_IT
6262
#define CHIP_DEVICE_CONFIG_USE_TEST_SPAKE2P_SALT CONFIG_CHIP_DEVICE_SPAKE2_SALT
6363
#define CHIP_DEVICE_CONFIG_USE_TEST_SPAKE2P_VERIFIER CONFIG_CHIP_DEVICE_SPAKE2_TEST_VERIFIER
64-
#endif
6564

6665
#ifdef CONFIG_NET_L2_OPENTHREAD
6766
#define CHIP_DEVICE_CONFIG_ENABLE_THREAD CONFIG_NET_L2_OPENTHREAD

src/platform/nrfconnect/FactoryDataProvider.cpp

-4
Original file line numberDiff line numberDiff line change
@@ -265,10 +265,6 @@ CHIP_ERROR FactoryDataProvider<FlashFactoryData>::SignWithDeviceAttestationKey(c
265265
{
266266
Crypto::P256ECDSASignature signature;
267267
Crypto::P256Keypair keypair;
268-
CHIP_ERROR err = CHIP_NO_ERROR;
269-
#ifdef CONFIG_CHIP_CRYPTO_PSA
270-
psa_key_id_t keyId = 0;
271-
#endif
272268

273269
VerifyOrReturnError(outSignBuffer.size() >= signature.Capacity(), CHIP_ERROR_BUFFER_TOO_SMALL);
274270
ReturnErrorCodeIf(!mFactoryData.dac_cert.data, CHIP_ERROR_PERSISTED_STORAGE_VALUE_NOT_FOUND);

0 commit comments

Comments
 (0)