diff options
| author | Alex Stapleton <alexs@prol.etari.at> | 2014-03-01 22:08:49 +0000 | 
|---|---|---|
| committer | Alex Stapleton <alexs@prol.etari.at> | 2014-03-01 22:18:38 +0000 | 
| commit | 94ee8b5c8570a330f9e3d30ae8313ec41b10b470 (patch) | |
| tree | 73ee261656d483af7ee1c288c63396577e69fb45 /cryptography | |
| parent | 1c979c6a28385e8c2f92ecd457fc0ebe48819536 (diff) | |
| download | cryptography-94ee8b5c8570a330f9e3d30ae8313ec41b10b470.tar.gz cryptography-94ee8b5c8570a330f9e3d30ae8313ec41b10b470.tar.bz2 cryptography-94ee8b5c8570a330f9e3d30ae8313ec41b10b470.zip | |
raise InternalError
Diffstat (limited to 'cryptography')
| -rw-r--r-- | cryptography/hazmat/backends/openssl/backend.py | 2 | 
1 files changed, 2 insertions, 0 deletions
| diff --git a/cryptography/hazmat/backends/openssl/backend.py b/cryptography/hazmat/backends/openssl/backend.py index d4aaad76..1fcd7ef2 100644 --- a/cryptography/hazmat/backends/openssl/backend.py +++ b/cryptography/hazmat/backends/openssl/backend.py @@ -471,6 +471,8 @@ class _CipherContext(object):                      "The length of the provided data is not a multiple of "                      "the block length."                  ) +            else: +                raise self._backend._unknown_error(errors[0])          if (isinstance(self._mode, GCM) and             self._operation == self._ENCRYPT): | 
