Decrypt correctly.
This commit is contained in:
parent
50bd5b852a
commit
bebc48c72f
@ -324,7 +324,7 @@ void do_mct(char *amode,
|
|||||||
/* accumulate material for the next key */
|
/* accumulate material for the next key */
|
||||||
shiftin(nk,text,Sizes[imode]);
|
shiftin(nk,text,Sizes[imode]);
|
||||||
/* DebugValue("nk",nk,8); */
|
/* DebugValue("nk",nk,8); */
|
||||||
if(imode == CFB1 || imode == CFB8 || imode == CBC)
|
if(dir && (imode == CFB1 || imode == CFB8 || imode == CBC))
|
||||||
memcpy(text,old_iv,8);
|
memcpy(text,old_iv,8);
|
||||||
}
|
}
|
||||||
for(n=0 ; n < 8 ; ++n)
|
for(n=0 ; n < 8 ; ++n)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user