util: deprecate crypto::computeSha256Digest()
Use Sha256::computeDigest() instead.
Change-Id: I9db5b4839559c9c7930cdc24c78f35ca76b25b52
diff --git a/src/util/in-memory-storage.cpp b/src/util/in-memory-storage.cpp
index 69f2b5a..bc1beac 100644
--- a/src/util/in-memory-storage.cpp
+++ b/src/util/in-memory-storage.cpp
@@ -1,6 +1,6 @@
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
-/**
- * Copyright (c) 2013-2016 Regents of the University of California.
+/*
+ * Copyright (c) 2013-2017 Regents of the University of California.
*
* This file is part of ndn-cxx library (NDN C++ library with eXperimental eXtensions).
*
@@ -22,8 +22,6 @@
#include "in-memory-storage.hpp"
#include "in-memory-storage-entry.hpp"
-#include "crypto.hpp"
-
#include "../security/signature-sha256-with-rsa.hpp"
namespace ndn {
@@ -423,9 +421,7 @@
{
Cache::index<byFullName>::type::iterator it = m_cache.get<byFullName>().end();
- const Data* ptr = NULL;
-
- return const_iterator(ptr, &m_cache, it);
+ return const_iterator(nullptr, &m_cache, it);
}
void