Update the NDNCERT library to version NDNCERT v2
spec:[https://github.com/named-data/ndncert/wiki/NDNCERT-Protocol-new]
Change-Id: Ia480a8e70c4b38ca170dfe2fcf50d1265ab65f46
diff --git a/wscript b/wscript
index dab4d7a..85fe3d5 100644
--- a/wscript
+++ b/wscript
@@ -10,7 +10,7 @@
def options(opt):
opt.load(['compiler_cxx', 'gnu_dirs'])
- opt.load(['boost', 'default-compiler-flags', 'sqlite3',
+ opt.load(['boost', 'default-compiler-flags', 'sqlite3', 'openssl',
'coverage', 'sanitizers',
'doxygen', 'sphinx_build'],
tooldir=['.waf-tools'])
@@ -21,7 +21,7 @@
def configure(conf):
conf.load(['compiler_cxx', 'gnu_dirs',
- 'boost', 'default-compiler-flags', 'sqlite3',
+ 'boost', 'default-compiler-flags', 'sqlite3', 'openssl',
'doxygen', 'sphinx_build'])
if 'PKG_CONFIG_PATH' not in os.environ:
@@ -44,6 +44,7 @@
' (https://redmine.named-data.net/projects/nfd/wiki/Boost_FAQ)')
conf.check_compiler_flags()
+ conf.check_openssl(mandatory=True, atleast_version=0x1000200f) # 1.1.1b
# Loading "late" to prevent tests from being compiled with profiling flags
conf.load('coverage')