Skip to content

Commit 3139e6a

Browse files
committed
aws-iot-example: Fix uncrustify check failures
Signed-off-by: Devaraj Ranganna <[email protected]>
1 parent a68d01c commit 3139e6a

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Projects/aws-iot-example/dev_mode_key_provisioning.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1079,7 +1079,6 @@ CK_RV xProvisionDevice( CK_SESSION_HANDLE xSession,
10791079
xResult = C_GetFunctionList( &pxFunctionList );
10801080

10811081
#if ( pkcs11configIMPORT_PRIVATE_KEYS_SUPPORTED == 1 )
1082-
10831082
/* Attempt to clean-up old crypto objects, but only if private key import is
10841083
* supported by this application, and only if the caller has provided new
10851084
* objects to use instead. */
@@ -1113,7 +1112,6 @@ CK_RV xProvisionDevice( CK_SESSION_HANDLE xSession,
11131112
}
11141113

11151114
#if ( pkcs11configIMPORT_PRIVATE_KEYS_SUPPORTED == 1 )
1116-
11171115
/* If this application supports importing private keys, and if a private
11181116
* key has been provided by the caller, attempt to import it. */
11191117
if( ( xResult == CKR_OK ) && ( NULL != pxParams->pucClientPrivateKey ) )

Projects/aws-iot-example/freertos-integration-tests/integration_tests_platform_function.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ static NetworkConnectStatus_t prvTransportNetworkConnect( void * pNetworkContext
4242
};
4343

4444
TransportStatus_t status = TRANSPORT_STATUS_CONNECT_FAILURE;
45+
4546
status = Transport_Connect( pNetworkContext,
4647
&server_info,
4748
NULL,
@@ -63,6 +64,7 @@ static NetworkConnectStatus_t prvTransportNetworkConnectTLS( void * pNetworkCont
6364

6465
/* Set the credentials for establishing a TLS connection. */
6566
TLSParams_t tls_params = { 0 };
67+
6668
tls_params.pRootCa = democonfigROOT_CA_PEM;
6769
tls_params.rootCaSize = sizeof( democonfigROOT_CA_PEM );
6870
tls_params.pClientCertLabel = pkcs11configLABEL_DEVICE_CERTIFICATE_FOR_TLS;
@@ -71,6 +73,7 @@ static NetworkConnectStatus_t prvTransportNetworkConnectTLS( void * pNetworkCont
7173
tls_params.pLoginPIN = configPKCS11_DEFAULT_USER_PIN;
7274

7375
TransportStatus_t status = TRANSPORT_STATUS_CONNECT_FAILURE;
76+
7477
status = Transport_Connect( pNetworkContext,
7578
&server_info,
7679
&tls_params,

Projects/aws-iot-example/mqtt-agent-wrapper/mqtt_agent_task.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,6 @@ static BaseType_t prvSocketConnect( NetworkContext_t * pxNetworkContext )
296296
ServerInfo_t xServerInfo = { 0 };
297297

298298
#ifdef democonfigUSE_AWS_IOT_CORE_BROKER
299-
300299
/* ALPN protocols must be a NULL-terminated list of strings. Therefore,
301300
* the first entry will contain the actual ALPN protocol string while the
302301
* second entry must remain NULL. */

0 commit comments

Comments
 (0)