Changeset 1997


Ignore:
Timestamp:
Oct 20, 2010, 6:06:32 PM (11 years ago)
Author:
weyers
Message:

TranspositionAnalyser.cs Initialize Method Bugfix, cribAnalysis stops on command Bugfix.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/CrypPlugins/TranspositionAnalyser/TranspositionAnalyser.cs

    r1990 r1997  
    201201        public void Initialize()
    202202        {
    203             this.settings.Analysis_method = 0;
     203            this.settings.UpdateTaskPaneVisibility();
     204
    204205        }
    205206
     
    704705            poskeysLastTenSecs = 0;
    705706
    706             for (int keylength = 2; keylength <= maxKeylength; keylength++)
     707            for (int keylength = 2; keylength <= maxKeylength && !stop; keylength++)
    707708            {
    708709                int[] binaryKey = getDefaultBinaryKey(cipher, keylength);
     
    757758                    }
    758759
    759                 } while (!arrayEquals(firstKey, binaryKey));
     760                } while (!arrayEquals(firstKey, binaryKey)&&!stop);
    760761            }
    761762
     
    846847            Boolean end = false;
    847848
    848             while (!end)
     849            while (!end && !stop)
    849850            {
    850851                Boolean check = true;
Note: See TracChangeset for help on using the changeset viewer.