trans, not recv for macsize

--HG--
extra : convert_revision : 39c4f7320b3a10ef7ef5a41406fe014cc9040ee9
This commit is contained in:
Matt Johnston 2005-08-30 17:56:53 +00:00
parent cebbc4e2b7
commit c804883350

View File

@ -531,7 +531,7 @@ static void writemac(buffer * outputbuffer, buffer * clearwritebuf) {
TRACE(("enter writemac"))
macsize = ses.keys->recv_algo_mac->hashsize;
macsize = ses.keys->trans_algo_mac->hashsize;
if (macsize > 0) {
/* calculate the mac */
if (hmac_init(&hmac,