commit | 4969c22cf65f91f5bc87bf25ce45875dae32f576 | [log] [tgz] |
---|---|---|
author | Cory Benfield <cory.benfield@metaswitch.com> | Tue May 27 14:19:34 2014 +0100 |
committer | Cory Benfield <cory.benfield@metaswitch.com> | Tue May 27 14:19:34 2014 +0100 |
tree | 998ab6e0e626e2313e91cdba7fa9d9dbc34af4af | |
parent | cd010f60e56683a5f093979abbe7e57ac766c21f [diff] [blame] |
Copy buffer into bytestring.
diff --git a/OpenSSL/SSL.py b/OpenSSL/SSL.py index 48e3790..e97df8b 100644 --- a/OpenSSL/SSL.py +++ b/OpenSSL/SSL.py
@@ -869,7 +869,7 @@ # The string passed to us is actually made up of multiple # length-prefixed bytestrings. We need to split that into a list. - instr = _ffi.buffer(in_, inlen) + instr = _ffi.buffer(in_, inlen)[:] protolist = [] while instr: l = indexbytes(instr, 0)