Skip to content

Commit

Permalink
Handle unused variables
Browse files Browse the repository at this point in the history
  • Loading branch information
DakshitBabbar committed Dec 12, 2024
1 parent f0df8d9 commit cff93a3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -533,6 +533,7 @@ static CK_RV provisionPrivateKey( CK_SESSION_HANDLE session,
size_t privateKeyLength,
const char * label )
{
(void) sig_size;
CK_RV result = CKR_OK;
mbedtls_pk_type_t mbedKeyType = MBEDTLS_PK_NONE;
int mbedResult = 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -916,6 +916,7 @@ static int32_t privateKeySigningCallback( mbedtls_pk_context * pContext,
int ( * pRng )( void *, unsigned char *, size_t ),
void * pRngContext )
{
(void) sig_size;
CK_RV ret = CKR_OK;
int32_t result = 0;
CK_MECHANISM mech = { 0 };
Expand Down

0 comments on commit cff93a3

Please sign in to comment.