summaryrefslogtreecommitdiff
path: root/src/wx/download_certificate_panel.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-11-15 18:59:04 +0000
committerCarl Hetherington <cth@carlh.net>2015-11-15 18:59:04 +0000
commitf87c2a2b16517a015ac2f52f2cdeb99d6da9d5f6 (patch)
tree4b88829f2800d1a655d756825c3a3545a5a121f5 /src/wx/download_certificate_panel.cc
parent1a14ae26a73489ae8990bfda1a432d229c3bb2d5 (diff)
Display thumbprint rather than whole certificate in screen dialogue.
Diffstat (limited to 'src/wx/download_certificate_panel.cc')
-rw-r--r--src/wx/download_certificate_panel.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/wx/download_certificate_panel.cc b/src/wx/download_certificate_panel.cc
index 7b670261b..1379025c6 100644
--- a/src/wx/download_certificate_panel.cc
+++ b/src/wx/download_certificate_panel.cc
@@ -24,6 +24,7 @@
#include <boost/bind.hpp>
using boost::function;
+using boost::optional;
DownloadCertificatePanel::DownloadCertificatePanel (wxWindow* parent, DownloadCertificateDialog* dialog)
: wxPanel (parent, wxID_ANY)
@@ -55,9 +56,8 @@ DownloadCertificatePanel::load (boost::filesystem::path file)
}
}
-dcp::Certificate
+optional<dcp::Certificate>
DownloadCertificatePanel::certificate () const
{
- DCPOMATIC_ASSERT (_certificate);
- return _certificate.get ();
+ return _certificate;
}