aboutsummaryrefslogtreecommitdiffstats
path: root/Source/charon/transforms/signers/hmac_signer.c
diff options
context:
space:
mode:
Diffstat (limited to 'Source/charon/transforms/signers/hmac_signer.c')
-rw-r--r--Source/charon/transforms/signers/hmac_signer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/charon/transforms/signers/hmac_signer.c b/Source/charon/transforms/signers/hmac_signer.c
index ed17b23a6..ee029011f 100644
--- a/Source/charon/transforms/signers/hmac_signer.c
+++ b/Source/charon/transforms/signers/hmac_signer.c
@@ -109,6 +109,7 @@ static bool verify_signature (private_hmac_signer_t *this, chunk_t data, chunk_t
*/
static size_t get_key_size (private_hmac_signer_t *this)
{
+ /* for HMAC signer, IKEv2 uses block size as key size */
return this->hmac_prf->get_block_size(this->hmac_prf);
}