diff --git a/sys/net/ccn_lite/ccnl-ext.h b/sys/net/ccn_lite/ccnl-ext.h index c442f0574a55a27f837adca2c0d959d426aa8299..481259dba8835dff512858499a37388a9f6a94d2 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 cfb311e39aa63a2fb0841ae7fa978bcd488a53d8..d0637421d31874522dffd25cb4ed468c860d0d08 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)