commit | 49b07036a6134f10bc86fe64f62d5c528636d3e6 | [log] [tgz] |
---|---|---|
author | Alexander Afanasyev <alexander.afanasyev@ucla.edu> | Sat Dec 28 23:13:21 2013 -0800 |
committer | Alexander Afanasyev <alexander.afanasyev@ucla.edu> | Thu Jan 09 15:14:13 2014 -0800 |
tree | 8c1f6f5448903d4a9644dea6d6b1316187c24ebb | |
parent | a557d5a4513b937e607c491a3952163e95e0017e [diff] [blame] |
signature: Small extension to Signature API (allow creating signature only based on SignatureInfo block) Change-Id: I0434a4b40df72084ecd0957ca418214a8085903f
diff --git a/include/ndn-cpp/signature.hpp b/include/ndn-cpp/signature.hpp index dcc0cf0..e38ad3e 100644 --- a/include/ndn-cpp/signature.hpp +++ b/include/ndn-cpp/signature.hpp
@@ -27,7 +27,7 @@ { } - Signature(const Block &info, const Block &value) + Signature(const Block &info, const Block &value = Block()) : value_(value) { setInfo(info);