aboutsummaryrefslogtreecommitdiff
path: root/src/cipher.cpp
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2016-05-24 09:56:01 +0100
committerRichard van der Hoff <richard@matrix.org>2016-05-24 09:56:01 +0100
commitd4a3c8dbaa6730519d3b6b13004e7fd9ea288870 (patch)
treecd032b3a18e412f63b617adb98588e09c517ed2b /src/cipher.cpp
parent444ef1f70687c340ba1b0b2a22d6e63c734d5f9e (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 'src/cipher.cpp')
-rw-r--r--src/cipher.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/cipher.cpp b/src/cipher.cpp
index 73d6680..7830f6c 100644
--- a/src/cipher.cpp
+++ b/src/cipher.cpp
@@ -131,17 +131,12 @@ size_t aes_sha_256_cipher_decrypt(
}
-void aes_sha_256_cipher_destruct(struct _olm_cipher *cipher) {
-}
-
-
const _olm_cipher_ops aes_sha_256_cipher_ops = {
aes_sha_256_cipher_mac_length,
aes_sha_256_cipher_encrypt_ciphertext_length,
aes_sha_256_cipher_encrypt,
aes_sha_256_cipher_decrypt_max_plaintext_length,
aes_sha_256_cipher_decrypt,
- aes_sha_256_cipher_destruct
};
} // namespace