Skip to content
Snippets Groups Projects
Commit c8048833 authored by Matt Johnston's avatar Matt Johnston
Browse files

trans, not recv for macsize

--HG--
extra : convert_revision : 39c4f7320b3a10ef7ef5a41406fe014cc9040ee9
parent cebbc4e2
Branches
Tags
No related merge requests found
...@@ -531,7 +531,7 @@ static void writemac(buffer * outputbuffer, buffer * clearwritebuf) { ...@@ -531,7 +531,7 @@ static void writemac(buffer * outputbuffer, buffer * clearwritebuf) {
TRACE(("enter writemac")) TRACE(("enter writemac"))
macsize = ses.keys->recv_algo_mac->hashsize; macsize = ses.keys->trans_algo_mac->hashsize;
if (macsize > 0) { if (macsize > 0) {
/* calculate the mac */ /* calculate the mac */
if (hmac_init(&hmac, if (hmac_init(&hmac,
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment