mirror of
https://github.com/saymrwulf/cryptography.git
synced 2026-05-14 20:37:55 +00:00
bytes byte back
This commit is contained in:
parent
ab2cfc70a6
commit
985d99d293
1 changed files with 3 additions and 2 deletions
|
|
@ -107,8 +107,9 @@ class TestOpenSSL(object):
|
|||
assert cipher != backend._ffi.NULL
|
||||
|
||||
def test_error_strings_loaded(self):
|
||||
# returns a value in a static buffer
|
||||
err = backend._lib.ERR_error_string(101183626, backend._ffi.NULL)
|
||||
assert backend._ffi.string(err) == (
|
||||
"error:0607F08A:digital envelope routines:EVP_EncryptFinal_ex:"
|
||||
"data not multiple of block length"
|
||||
b"error:0607F08A:digital envelope routines:EVP_EncryptFinal_ex:"
|
||||
b"data not multiple of block length"
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in a new issue