Move file encryption function to public header
This commit is contained in:
@@ -79,31 +79,15 @@ omemo_own_fingerprint(gboolean formatted)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
void
|
||||
omemo_start_muc_sessions(const char* const roomjid)
|
||||
{
|
||||
}
|
||||
void
|
||||
omemo_start_session(const char* const barejid)
|
||||
{
|
||||
}
|
||||
void
|
||||
omemo_trust(const char* const jid, const char* const fingerprint_formatted)
|
||||
{
|
||||
}
|
||||
void
|
||||
omemo_untrust(const char* const jid, const char* const fingerprint_formatted)
|
||||
{
|
||||
}
|
||||
void
|
||||
omemo_devicelist_publish(GList* device_list)
|
||||
{
|
||||
}
|
||||
void
|
||||
omemo_publish_crypto_materials(void)
|
||||
{
|
||||
}
|
||||
void
|
||||
omemo_start_sessions(void)
|
||||
{
|
||||
}
|
||||
void omemo_start_muc_sessions(const char *const roomjid) {}
|
||||
void omemo_start_session(const char *const barejid) {}
|
||||
void omemo_trust(const char *const jid, const char *const fingerprint_formatted) {}
|
||||
void omemo_untrust(const char *const jid, const char *const fingerprint_formatted) {}
|
||||
void omemo_devicelist_publish(GList *device_list) {}
|
||||
void omemo_publish_crypto_materials(void) {}
|
||||
void omemo_start_sessions(void) {}
|
||||
|
||||
char *omemo_encrypt_file(FILE *in, FILE *out, off_t file_size, int *gcry_res) {
|
||||
return NULL;
|
||||
};
|
||||
void omemo_free(void *a) {};
|
||||
|
||||
@@ -1,10 +0,0 @@
|
||||
#include <cmocka.h>
|
||||
#include <setjmp.h>
|
||||
#include <stdarg.h>
|
||||
#include <stddef.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "omemo/crypto.h"
|
||||
|
||||
void test_omemo_aesgcm256_encrypt_file(void **state) {}
|
||||
void test_omemo_aesgcm256_encrypt_file(void **state) {}
|
||||
@@ -1,2 +0,0 @@
|
||||
void test_omemo_aesgcm256_encrypt_file(void **state);
|
||||
void test_omemo_aesgcm256_decrypt_file(void **state);
|
||||
Reference in New Issue
Block a user