mirror of
https://github.com/adulau/ssldump.git
synced 2024-12-22 16:05:58 +00:00
Print MAC keys only for non AEAD ciphers
This commit is contained in:
parent
ed86194b1e
commit
ea1105a4aa
1 changed files with 4 additions and 2 deletions
|
@ -1057,8 +1057,10 @@ static int ssl_generate_keying_material(ssl,d)
|
|||
}
|
||||
}
|
||||
|
||||
CRDUMP("Client MAC key",c_mk,ssl->cs->dig_len);
|
||||
CRDUMP("Server MAC key",s_mk,ssl->cs->dig_len);
|
||||
if (!IS_AEAD_CIPHER(ssl->cs)){
|
||||
CRDUMP("Client MAC key",c_mk,ssl->cs->dig_len);
|
||||
CRDUMP("Server MAC key",s_mk,ssl->cs->dig_len);
|
||||
}
|
||||
CRDUMP("Client Write key",c_wk,ssl->cs->bits/8);
|
||||
CRDUMP("Server Write key",s_wk,ssl->cs->bits/8);
|
||||
|
||||
|
|
Loading…
Reference in a new issue