summaryrefslogtreecommitdiff
path: root/opt/profanity/openssl-omemo-h.patch
blob: 558d3ba2256dd58a61487c7c4506ced89ee9eac9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- a/src/omemo/omemo.h
+++ b/src/omemo/omemo.h
@@ -33,7 +33,6 @@
  *
  */
 #include <glib.h>
-#include <gcrypt.h>
 
 #include "ui/ui.h"
 #include "config/account.h"
@@ -99,7 +98,7 @@
 char* omemo_on_message_recv(const char* const from, uint32_t sid, const unsigned char* const iv, size_t iv_len, GList* keys, const unsigned char* const payload, size_t payload_len, gboolean muc, gboolean* trusted);
 
 char* omemo_encrypt_file(FILE* in, FILE* out, off_t file_size, int* gcry_res);
-gcry_error_t omemo_decrypt_file(FILE* in, FILE* out, off_t file_size, const char* fragment);
+int omemo_decrypt_file(FILE* in, FILE* out, off_t file_size, const char* fragment);
 void omemo_free(void* a);
 int omemo_parse_aesgcm_url(const char* aesgcm_url, char** https_url, char** fragment);