From fd8a665cbb0a9a44995f88567747e2379a6f4098 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sat, 5 Jan 2013 22:02:24 +0000 Subject: Various probably quite untidy progress on KDMs. --- test/tests.cc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test') 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 #include +#include #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) -- cgit v1.2.3