Print MAC keys only for non AEAD ciphers

This commit is contained in:
Vishwa Pravin 2022-06-13 12:15:28 +05:30
parent ed86194b1e
commit ea1105a4aa

View file

@ -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("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);