aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRichard van der Hoff <github@rvanderhoff.org.uk>2016-12-22 14:43:01 +0000
committerGitHub <noreply@github.com>2016-12-22 14:43:01 +0000
commit90b36130532d2d8040b39e310d8d0d5ee22aea0a (patch)
tree26eabdea9bc04077b1621deb34b5d0cbe669dedd /lib
parentfb91b1f18269c5b681c972dc4448858db0966c3a (diff)
parent46ad79517ec8e005bd2d1de767d3cd59ec038fe2 (diff)
Merge pull request #36 from matrix-org/manuroe/olmkit
OLMKit
Diffstat (limited to 'lib')
-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 ******************************/