c/util: Making util/crypto.h a public header
Change-Id: Ie63d3b5b206ae7e027e11077b6c0a039ed75eb92
diff --git a/src/c/util/crypto.c b/src/c/util/crypto.c
index ec13f68..e8dfbfd 100644
--- a/src/c/util/crypto.c
+++ b/src/c/util/crypto.c
@@ -4,7 +4,7 @@
* See COPYING for copyright and distribution information.
*/
-#include "crypto.h"
+#include "ndn-cpp/c/util/crypto.h"
void ndn_digestSha256(const uint8_t *data, size_t dataLength, uint8_t *digest)
{
diff --git a/src/c/util/crypto.h b/src/c/util/crypto.h
deleted file mode 100644
index 586108b..0000000
--- a/src/c/util/crypto.h
+++ /dev/null
@@ -1,30 +0,0 @@
-/**
- * Copyright (C) 2013 Regents of the University of California.
- * @author: Jeff Thompson <jefft0@remap.ucla.edu>
- * See COPYING for copyright and distribution information.
- */
-
-#ifndef NDN_CRYPTO_H
-#define NDN_CRYPTO_H
-
-#include <openssl/ssl.h>
-#include <openssl/rsa.h>
-#include <ndn-cpp/c/common.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/**
- * Compute the sha-256 digest of data.
- * @param data Pointer to the input byte array.
- * @param dataLength The length of data.
- * @param digest A pointer to a buffer of size SHA256_DIGEST_LENGTH to receive the data.
- */
-void ndn_digestSha256(const uint8_t *data, size_t dataLength, uint8_t *digest);
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif
diff --git a/src/util/ndnd-id-fetcher.hpp b/src/util/ndnd-id-fetcher.hpp
index 4f5758d..843eb83 100644
--- a/src/util/ndnd-id-fetcher.hpp
+++ b/src/util/ndnd-id-fetcher.hpp
@@ -9,7 +9,7 @@
#define NDN_NDND_ID_FETCHER_HPP
#include <ndn-cpp/common.hpp>
-#include "../c/util/crypto.h"
+#include "ndn-cpp/c/util/crypto.h"
namespace ndn {