From e0f3c73d14be931352d353bcc760aae3459eaf83 Mon Sep 17 00:00:00 2001 From: Christian Mehlis <mehlis@inf.fu-berlin.de> Date: Fri, 20 Dec 2013 18:43:43 +0100 Subject: [PATCH] fix include of crypto --- sys/net/ccn_lite/ccnl-ext.h | 2 +- sys/net/ccn_lite/ccnl-includes.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/net/ccn_lite/ccnl-ext.h b/sys/net/ccn_lite/ccnl-ext.h index c442f0574a..481259dba8 100644 --- a/sys/net/ccn_lite/ccnl-ext.h +++ b/sys/net/ccn_lite/ccnl-ext.h @@ -26,7 +26,7 @@ #ifndef CCNL_EXT_H__ #define CCNL_EXT_H__ -#define compute_ccnx_digest(buf) SHA256(buf->data, buf->datalen, NULL) +#define compute_ccnx_digest(buf) sha256(buf->data, buf->datalen, NULL) #ifdef USE_FRAG diff --git a/sys/net/ccn_lite/ccnl-includes.h b/sys/net/ccn_lite/ccnl-includes.h index cfb311e39a..d0637421d3 100644 --- a/sys/net/ccn_lite/ccnl-includes.h +++ b/sys/net/ccn_lite/ccnl-includes.h @@ -26,7 +26,7 @@ #include <stdlib.h> #include <string.h> -#include "sha256.h" +#include "crypto/sha256.h" #define RIOT_MSG_DEV (1) #define RIOT_TRANS_DEV (2) -- GitLab