diff options
| author | Carl Hetherington <cth@carlh.net> | 2023-04-09 00:19:34 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2023-04-09 00:19:34 +0200 |
| commit | 76d12be80c4377edfc3e8fce4da01a575dec74d1 (patch) | |
| tree | c462d07f3dff052adc5dafc100e52796619e50d0 | |
| parent | a66c4f957d50e93e01912810876fbdd883ac5d6a (diff) | |
Support loading of certificate chains for trusted devices.
| -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 7578ca4ca..3b2a1bd85 100644 --- a/src/wx/screen_dialog.cc +++ b/src/wx/screen_dialog.cc @@ -72,7 +72,7 @@ public: } try { - _certificate = dcp::Certificate(dcp::file_to_string(dialog.paths()[0])); + _certificate = dcp::CertificateChain(dcp::file_to_string(dialog.paths()[0])).leaf(); _thumbprint->SetValue (std_to_wx(_certificate->thumbprint())); setup_sensitivity(); } catch (dcp::MiscError& e) { |
