Skip to content

Commit

Permalink
Update for format
Browse files Browse the repository at this point in the history
  • Loading branch information
chinglee-iot committed Aug 23, 2024
1 parent ffa2c50 commit 4821c59
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -149,21 +149,21 @@
*/


#define PKCS11_TEST_RSA_KEY_SUPPORT ( 1 )
#define PKCS11_TEST_EC_KEY_SUPPORT ( 0 )
#define PKCS11_TEST_IMPORT_PRIVATE_KEY_SUPPORT ( 1 )
#define PKCS11_TEST_GENERATE_KEYPAIR_SUPPORT ( 0 )
#define PKCS11_TEST_PREPROVISIONED_SUPPORT ( 0 )
#define PKCS11_TEST_LABEL_DEVICE_PRIVATE_KEY_FOR_TLS pkcs11configLABEL_DEVICE_PRIVATE_KEY_FOR_TLS
#define PKCS11_TEST_LABEL_DEVICE_PUBLIC_KEY_FOR_TLS pkcs11configLABEL_DEVICE_PUBLIC_KEY_FOR_TLS
#define PKCS11_TEST_LABEL_DEVICE_CERTIFICATE_FOR_TLS pkcs11configLABEL_DEVICE_CERTIFICATE_FOR_TLS
#define PKCS11_TEST_RSA_KEY_SUPPORT ( 1 )
#define PKCS11_TEST_EC_KEY_SUPPORT ( 0 )
#define PKCS11_TEST_IMPORT_PRIVATE_KEY_SUPPORT ( 1 )
#define PKCS11_TEST_GENERATE_KEYPAIR_SUPPORT ( 0 )
#define PKCS11_TEST_PREPROVISIONED_SUPPORT ( 0 )
#define PKCS11_TEST_LABEL_DEVICE_PRIVATE_KEY_FOR_TLS pkcs11configLABEL_DEVICE_PRIVATE_KEY_FOR_TLS
#define PKCS11_TEST_LABEL_DEVICE_PUBLIC_KEY_FOR_TLS pkcs11configLABEL_DEVICE_PUBLIC_KEY_FOR_TLS
#define PKCS11_TEST_LABEL_DEVICE_CERTIFICATE_FOR_TLS pkcs11configLABEL_DEVICE_CERTIFICATE_FOR_TLS

/**
* @brief The IoT Thing name for the device for OTA test.
*
* #define IOT_THING_NAME "PLACE_HOLDER"
*/
#define IOT_THING_NAME CONFIG_GRI_QUALIFICATION_THING_NAME
#define IOT_THING_NAME CONFIG_GRI_QUALIFICATION_THING_NAME

/**
* @brief Log macro for MQTT test.
Expand All @@ -184,7 +184,7 @@
#define LogError( x )
#endif

#define OUTGOING_PUBLISH_RECORD_COUNT ( 10 )
#define INCOMING_PUBLISH_RECORD_COUNT ( 10 )
#define OUTGOING_PUBLISH_RECORD_COUNT ( 10 )
#define INCOMING_PUBLISH_RECORD_COUNT ( 10 )

#endif /* TEST_PARAM_CONFIG_H */
6 changes: 1 addition & 5 deletions main/qualification_app_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@

/* Use ROOT CA in binary. */
#ifndef ECHO_SERVER_ROOT_CA
#define ECHO_SERVER_ROOT_CA NULL
#define ECHO_SERVER_ROOT_CA NULL
#endif

/* Global variables ***********************************************************/
Expand Down Expand Up @@ -221,7 +221,6 @@ static BaseType_t prvInitializeNetworkContext( char * pcServerName,
}

#if CONFIG_ESP_SECURE_CERT_DS_PERIPHERAL

/* If the digital signature peripheral is being used, get the digital
* signature peripheral context from esp_secure_crt_mgr and put into
* network context. */
Expand All @@ -234,7 +233,6 @@ static BaseType_t prvInitializeNetworkContext( char * pcServerName,
xRet = pdFAIL;
}
#else /* if CONFIG_ESP_SECURE_CERT_DS_PERIPHERAL */

/* If the DS peripheral is not being used, get the device private key from
* esp_secure_crt_mgr and put into network context. */

Expand Down Expand Up @@ -307,7 +305,6 @@ static BaseType_t prvInitializeNetworkContext( char * pcServerName,
}

#if CONFIG_ESP_SECURE_CERT_DS_PERIPHERAL

/* If the digital signature peripheral is being used, get the digital
* signature peripheral context from esp_secure_crt_mgr and put into
* second network context. */
Expand All @@ -320,7 +317,6 @@ static BaseType_t prvInitializeNetworkContext( char * pcServerName,
xRet = pdFAIL;
}
#else /* if CONFIG_ESP_SECURE_CERT_DS_PERIPHERAL */

/* If the DS peripheral is not being used, get the device private key from
* esp_secure_crt_mgr and put into second network context. */

Expand Down

0 comments on commit 4821c59

Please sign in to comment.