diff options
| author | Alex Stapleton <alexs@prol.etari.at> | 2014-03-01 21:07:23 +0000 | 
|---|---|---|
| committer | Alex Stapleton <alexs@prol.etari.at> | 2014-03-01 21:07:23 +0000 | 
| commit | 9ed28547a72fab4efa30eef3cb867b1f2165e143 (patch) | |
| tree | 14e6f171880850dc376d4a764d13d00b108cca5d /cryptography | |
| parent | 151cede33ca6e00a6ffd48851ca43d615e8920e4 (diff) | |
| download | cryptography-9ed28547a72fab4efa30eef3cb867b1f2165e143.tar.gz cryptography-9ed28547a72fab4efa30eef3cb867b1f2165e143.tar.bz2 cryptography-9ed28547a72fab4efa30eef3cb867b1f2165e143.zip  | |
Style tweaks
Diffstat (limited to 'cryptography')
| -rw-r--r-- | cryptography/hazmat/backends/openssl/backend.py | 6 | 
1 files changed, 3 insertions, 3 deletions
diff --git a/cryptography/hazmat/backends/openssl/backend.py b/cryptography/hazmat/backends/openssl/backend.py index 318edec1..d4aaad76 100644 --- a/cryptography/hazmat/backends/openssl/backend.py +++ b/cryptography/hazmat/backends/openssl/backend.py @@ -235,7 +235,7 @@ class Backend(object):      def _consume_errors(self):          errors = [] -        while 1: +        while True:              code = self._lib.ERR_get_error()              if code == 0:                  break @@ -455,8 +455,8 @@ class _CipherContext(object):              if not errors and isinstance(self._mode, GCM):                  raise InvalidTag -            else: -                assert errors + +            assert errors              if errors[0][1:] == (                  self._backend._lib.ERR_LIB_EVP,  | 
