Okey doke.


On Sat, Mar 1, 2014 at 2:57 PM, Alex Stapleton <notifications@github.com>wrote:

> In tests/hazmat/backends/test_openssl.py:
>
> > @@ -147,6 +118,15 @@ def test_error_strings_loaded(self):
> >              b"data not multiple of block length"
> >          )
> >
> > +    def test_unknown_error_in_cipher_finalize(self):
> > +        cipher = Cipher(AES(b"\0" * 16), CBC(b"\0" * 16), backend=backend)
> > +        enc = cipher.encryptor()
> > +        enc.update(b"\0")
> > +        backend._lib.ERR_put_error(0, 0, 1,
> > +                                   b"test_openssl.py", -1)
> > +        with pytest.raises(InternalError):
> > +            enc.finalize()
>
> It as at the top but the top is at errors[-1] not errors[0].
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/pyca/cryptography/pull/707/files#r10192974>
> .
>



-- 
"I disapprove of what you say, but I will defend to the death your right to
say it." -- Evelyn Beatrice Hall (summarizing Voltaire)
"The people's good is the highest law." -- Cicero
GPG Key fingerprint: 125F 5C67 DFE9 4084