Merge pull request #61 from lord8266/aead

Print MAC keys only for non AEAD ciphers
This commit is contained in:
Alexandre Dulaunoy 2022-06-13 22:53:45 +02:00 committed by GitHub
commit 11fee71673
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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);