mirror of
https://github.com/adulau/ssldump.git
synced 2024-11-07 12:06:27 +00:00
Merge pull request #61 from lord8266/aead
Print MAC keys only for non AEAD ciphers
This commit is contained in:
commit
11fee71673
1 changed files with 4 additions and 2 deletions
|
@ -1057,8 +1057,10 @@ static int ssl_generate_keying_material(ssl,d)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!IS_AEAD_CIPHER(ssl->cs)){
|
||||||
CRDUMP("Client MAC key",c_mk,ssl->cs->dig_len);
|
CRDUMP("Client MAC key",c_mk,ssl->cs->dig_len);
|
||||||
CRDUMP("Server MAC key",s_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("Client Write key",c_wk,ssl->cs->bits/8);
|
||||||
CRDUMP("Server Write key",s_wk,ssl->cs->bits/8);
|
CRDUMP("Server Write key",s_wk,ssl->cs->bits/8);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue