Skip to content

Commit cff93a3

Browse files
committed
Handle unused variables
1 parent f0df8d9 commit cff93a3

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

demos/fleet_provisioning/fleet_provisioning_keys_cert/pkcs11_operations.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -533,6 +533,7 @@ static CK_RV provisionPrivateKey( CK_SESSION_HANDLE session,
533533
size_t privateKeyLength,
534534
const char * label )
535535
{
536+
(void) sig_size;
536537
CK_RV result = CKR_OK;
537538
mbedtls_pk_type_t mbedKeyType = MBEDTLS_PK_NONE;
538539
int mbedResult = 0;

demos/fleet_provisioning/fleet_provisioning_with_csr/pkcs11_operations.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -916,6 +916,7 @@ static int32_t privateKeySigningCallback( mbedtls_pk_context * pContext,
916916
int ( * pRng )( void *, unsigned char *, size_t ),
917917
void * pRngContext )
918918
{
919+
(void) sig_size;
919920
CK_RV ret = CKR_OK;
920921
int32_t result = 0;
921922
CK_MECHANISM mech = { 0 };

0 commit comments

Comments
 (0)