Commit 0f7ff5b8 authored by Ben Laurie's avatar Ben Laurie
Browse files

We have to save text0 each time round the outer loop.

parent 820fb35a
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -274,8 +274,6 @@ void do_mct(char *amode,
	exit(1);
	}

    memcpy(text0,text,8);

    for(i=0 ; i < 400 ; ++i)
	{
	int j;
@@ -302,6 +300,8 @@ void do_mct(char *amode,
	if(imode == CFB1)
	    text[0]<<=7;

	memcpy(text0,text,8);

	for(j=0 ; j < 10000 ; ++j)
	    {
	    unsigned char old_text[8];