aboutsummaryrefslogtreecommitdiff
path: root/ubifs-utils/common/crypto.c
diff options
context:
space:
mode:
Diffstat (limited to 'ubifs-utils/common/crypto.c')
-rw-r--r--ubifs-utils/common/crypto.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/ubifs-utils/common/crypto.c b/ubifs-utils/common/crypto.c
index 19c445e..60a67a4 100644
--- a/ubifs-utils/common/crypto.c
+++ b/ubifs-utils/common/crypto.c
@@ -17,14 +17,16 @@
* Authors: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
*/
-#define PROGRAM_NAME "mkfs.ubifs"
#include <openssl/evp.h>
#include <openssl/err.h>
+#include <openssl/rand.h>
#include <string.h>
#include <assert.h>
-#include "fscrypt.h"
+#define PROGRAM_NAME "mkfs.ubifs"
#include "common.h"
+#include "defs.h"
+#include "fscrypt.h"
static int do_hash(const EVP_MD *md, const unsigned char *in, size_t len, unsigned char *out)
{