diff options
author | Matthew Hodgson <matthew@matrix.org> | 2016-10-02 02:50:52 +0100 |
---|---|---|
committer | Matthew Hodgson <matthew@matrix.org> | 2016-10-02 02:50:52 +0100 |
commit | 38acc352a3f3aac40c132e5321da540da38c832e (patch) | |
tree | df35101a1260577962aee63a7c4e396307f36bfd /python/olm/session.py | |
parent | 68ec41f8ca731b8e9335dbfd691b8339f030ee4d (diff) |
fix missing ctypes function signatures
These missing signatures were causing OSX to truncate 64-bit pointers
to 32-bit pointers when calling the missing methods, causing segfaults
Diffstat (limited to 'python/olm/session.py')
-rw-r--r-- | python/olm/session.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/python/olm/session.py b/python/olm/session.py index 308f220..19d43d3 100644 --- a/python/olm/session.py +++ b/python/olm/session.py @@ -58,6 +58,7 @@ session_function( c_void_p, c_size_t, # Identity Key c_void_p, c_size_t, # Pre Key Message ) +session_function(lib.olm_pickle_session_length) session_function(lib.olm_encrypt_message_type) session_function(lib.olm_encrypt_random_length) session_function(lib.olm_encrypt_message_length, c_size_t) |