diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-07-18 13:12:41 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-07-18 13:12:41 +0100 |
| commit | 5ea52a08f45b0cb8b8fe7221244cdcdeeaca0ed7 (patch) | |
| tree | ff9b2d893caa5a1d2914b52e98112f22fb96bdec /src/wx/screen_dialog.cc | |
| parent | 684da6bed46635f72d93c57a8721b63aa7e10ed5 (diff) | |
Keep signing certificates / keys in config.xml rather than on disk; allow configuration.
Diffstat (limited to 'src/wx/screen_dialog.cc')
| -rw-r--r-- | src/wx/screen_dialog.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/screen_dialog.cc b/src/wx/screen_dialog.cc index 6b58145eb..10650263b 100644 --- a/src/wx/screen_dialog.cc +++ b/src/wx/screen_dialog.cc @@ -89,7 +89,7 @@ void ScreenDialog::load_certificate (boost::filesystem::path file) { try { - _certificate.reset (new dcp::Certificate (file)); + _certificate.reset (new dcp::Certificate (dcp::file_to_string (file))); _certificate_text->SetValue (_certificate->certificate ()); } catch (dcp::MiscError& e) { error_dialog (this, wxString::Format (_("Could not read certificate file (%s)"), e.what())); |
