Use quiet generator when creating IKEv1 message hashes.
This avoids cluttering the log with duplicate log messages when generating and especially confusing log messages when parsing authenticated messages.
This commit is contained in:
1 parent
24ddf03f52
commit
9eefb5f9b4
1 file changed
+1
-1
@@ -820,7 +820,7 @@ METHOD(keymat_v1_t, get_hash_phase2, chunk_t,
|
||||
this->prf->set_key(this->prf, this->skeyid_a);
|
||||
if (add_message)
|
||||
{
|
||||
generator_t *generator = generator_create();
|
||||
generator_t *generator = generator_create_no_dbg();
|
||||
chunk_t msg = get_message_data(message, generator);
|
||||
this->prf->allocate_bytes(this->prf, data, NULL);
|
||||
this->prf->allocate_bytes(this->prf, msg, &hash);
|
||||
|
||||
Reference in new issue
Block a user