aboutsummaryrefslogtreecommitdiff
path: root/lib/crypto-algorithms
diff options
context:
space:
mode:
authormanuroe <manu@matrix.org>2016-09-27 11:57:29 +0200
committermanuroe <manu@matrix.org>2016-09-27 14:07:30 +0200
commit6f113dd7b3b4de918c4efb81d38a1ffe1d391b5b (patch)
tree19311a94dc999d776b36535d28f2c751cb7d629f /lib/crypto-algorithms
parent1d06f2a4d9565c332081bc685edd8fd61d6507ef (diff)
OLMKit: Make the project build
Make OLMKit CocoaPods expose the obj-c wrapper of libolm
Diffstat (limited to 'lib/crypto-algorithms')
-rw-r--r--lib/crypto-algorithms/aes.c1
-rw-r--r--lib/crypto-algorithms/sha256.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/lib/crypto-algorithms/aes.c b/lib/crypto-algorithms/aes.c
index 948e36f..0c264da 100644
--- a/lib/crypto-algorithms/aes.c
+++ b/lib/crypto-algorithms/aes.c
@@ -21,6 +21,7 @@
#include "aes.h"
#include <stdio.h>
+#include <string.h>
/****************************** MACROS ******************************/
// The least significant byte of the word is rotated to the end.
diff --git a/lib/crypto-algorithms/sha256.c b/lib/crypto-algorithms/sha256.c
index eb9c5c0..3acc274 100644
--- a/lib/crypto-algorithms/sha256.c
+++ b/lib/crypto-algorithms/sha256.c
@@ -15,6 +15,7 @@
/*************************** HEADER FILES ***************************/
#include <stdlib.h>
#include <memory.h>
+#include <string.h>
#include "sha256.h"
/****************************** MACROS ******************************/