Skip to content

Commit

Permalink
Fix type-cast
Browse files Browse the repository at this point in the history
  • Loading branch information
kar-rahul-aws committed Apr 25, 2024
1 parent 98014cf commit 5c2c988
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1014,7 +1014,7 @@ static CK_RV setupPkcs11ObjectForAesCmac( const SntpAuthContext_t * pAuthContext
};

/* Update the attributes array with the key of AES-CMAC operation. */
aes_cmac_template[ 6 ].pValue = (uint8_t *) ( pAuthContext->pAuthKey );
aes_cmac_template[ 6 ].pValue = ( uint8_t * ) ( pAuthContext->pAuthKey );
aes_cmac_template[ 6 ].ulValueLen = sizeof( pAuthContext->pAuthKey );

result = xInitializePkcs11Session( pPkcs11Session );
Expand Down

0 comments on commit 5c2c988

Please sign in to comment.