diff options
author | Richard van der Hoff <richard@matrix.org> | 2016-05-24 09:56:01 +0100 |
---|---|---|
committer | Richard van der Hoff <richard@matrix.org> | 2016-05-24 09:56:01 +0100 |
commit | d4a3c8dbaa6730519d3b6b13004e7fd9ea288870 (patch) | |
tree | cd032b3a18e412f63b617adb98588e09c517ed2b /include/olm | |
parent | 444ef1f70687c340ba1b0b2a22d6e63c734d5f9e (diff) |
Remove 'destruct' from cipher_ops
We never delete a cipher, and the destruct op is empty, so it's a bit pointless
Diffstat (limited to 'include/olm')
-rw-r--r-- | include/olm/cipher.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/olm/cipher.h b/include/olm/cipher.h index 3296c37..5f7185c 100644 --- a/include/olm/cipher.h +++ b/include/olm/cipher.h @@ -92,9 +92,6 @@ struct _olm_cipher_ops { uint8_t const * ciphertext, size_t ciphertext_length, uint8_t * plaintext, size_t max_plaintext_length ); - - /** destroy any private data associated with this cipher */ - void (*destruct)(struct _olm_cipher *cipher); }; struct _olm_cipher { |