Return to 10-year certificate validity (#2174).
[dcpomatic.git] / src / wx / config_dialog.cc
index fecb55ea7ced2c0fcbc413f211da4ad7615f7de9..a057c2e826253bfa86dce1797b07230ea3f729c0 100644 (file)
@@ -34,6 +34,9 @@ using boost::bind;
 using boost::optional;
 using boost::shared_ptr;
 using boost::function;
+#if BOOST_VERSION >= 106100
+using namespace boost::placeholders;
+#endif
 
 static
 bool
@@ -696,6 +699,7 @@ CertificateChainEditor::remake_certificates ()
                        shared_ptr<dcp::CertificateChain> (
                                new dcp::CertificateChain (
                                        openssl_path (),
+                                       CERTIFICATE_VALIDITY_PERIOD,
                                        d->organisation (),
                                        d->organisational_unit (),
                                        d->root_common_name (),