port NAC to security v2
This commit is based on Lei Pi's commit, which changed certificate version from v1 to v2.
The later changes fix some bugs and refactor algo part of the library to get rid of cryptopp.
Change-Id: I3be7e0341fe85ee69f1b5f1c3ed7421a6c61d0b5
diff --git a/wscript b/wscript
index b11e7bd..8d1d61f 100644
--- a/wscript
+++ b/wscript
@@ -63,7 +63,7 @@
# vnum = "0.0.1",
features=['cxx', 'cxxshlib'],
source = bld.path.ant_glob(['src/**/*.cpp']),
- use = 'BOOST NDN_CXX',
+ use = 'BOOST NDN_CXX CRYPTOPP',
includes = ['src', '.'],
export_includes=['src', '.'],
)
@@ -78,7 +78,7 @@
cwd = bld.path.find_dir("src"),
relative_trick = True,
)
-
+
bld.install_files(
dest = "%s/ndn-group-encrypt" % bld.env['INCLUDEDIR'],