diff options
Diffstat (limited to 'test/800-38a.py')
-rw-r--r-- | test/800-38a.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/800-38a.py b/test/800-38a.py index a8aa802..a929696 100644 --- a/test/800-38a.py +++ b/test/800-38a.py @@ -24,8 +24,8 @@ if __name__ == '__main__': key = vectors[prefix]['key'] plaintexts = vectors[prefix]['plaintexts'] ciphers = vectors[prefix]['ciphers'] - success = success and tools.detect_mismatches(plaintexts, encrypt(key, plaintexts), ciphers) - success = success and tools.detect_mismatches(ciphers, decrypt(key, ciphers), plaintexts) + success = tools.detect_mismatches(plaintexts, encrypt(key, plaintexts), ciphers) and success + success = tools.detect_mismatches(ciphers, decrypt(key, ciphers), plaintexts) and success if success: print('No mismatches detected!') else: |