diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-01-05 22:02:24 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-01-05 22:02:24 +0000 |
| commit | fd8a665cbb0a9a44995f88567747e2379a6f4098 (patch) | |
| tree | bd5b38579afdc55025cc93e52b8595a8aeebd46a /test | |
| parent | 40c974694bb6c01d7bfd432b7467b933e01dc418 (diff) | |
Various probably quite untidy progress on KDMs.
Diffstat (limited to 'test')
| -rw-r--r-- | test/tests.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/tests.cc b/test/tests.cc index 3d0e4254..7c3144a1 100644 --- a/test/tests.cc +++ b/test/tests.cc @@ -19,6 +19,7 @@ #include <cmath> #include <boost/filesystem.hpp> +#include <libxml++/libxml++.h> #include "KM_prng.h" #include "dcp.h" #include "util.h" @@ -632,6 +633,8 @@ BOOST_AUTO_TEST_CASE (encryption) d.add_cpl (cpl); d.write_xml (); + + cpl->make_kdm(d.certificates(), d.signer_key(), d.certificates().leaf())->write_to_file_formatted ("build/test/bar.kdm.xml", "UTF-8"); } BOOST_AUTO_TEST_CASE (certificates) |
