Changeset 1214

Show
Ignore:
Timestamp:
08/16/08 15:16:33 (4 months ago)
Author:
mbr
Message:

bugfix to look for 'Premature padding' or 'Premature end' in truncated packet tests

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • fwknop/trunk/test/fwknop_test.pl

    r1211 r1214  
    24052405            or die "[*] Could not open $current_test_file: $!"; 
    24062406        while (<SE>) { 
    2407             if (/\[\-\]\s+Key\s+mis\-?match/i) { 
    2408                 ### [-] Key mis-match or broken message checksum for SOURCE \ 
    2409                 ### ANY (# 1 in access.conf) 
     2407            if (/Premature\s+padding/i) { 
    24102408                $found_err = 1; 
    24112409                last; 
    2412             } elsif (/\[\-\]\s+Decrypted.*not\s+conform/i) { 
    2413                 ### [-] Decrypted message does not conform to a valid SPA packet 
     2410            } elsif (/Premature\s+end/i) { 
    24142411                $found_err = 1; 
    24152412                last;