projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a66c4f9
)
Support loading of certificate chains for trusted devices.
author
Carl Hetherington
<cth@carlh.net>
Sat, 8 Apr 2023 22:19:34 +0000
(
00:19
+0200)
committer
Carl Hetherington
<cth@carlh.net>
Sat, 8 Apr 2023 22:19:34 +0000
(
00:19
+0200)
src/wx/screen_dialog.cc
patch
|
blob
|
history
diff --git
a/src/wx/screen_dialog.cc
b/src/wx/screen_dialog.cc
index 7578ca4ca9f7d856f6df44b193a31a13db300291..3b2a1bd8560f502eb970f3315e8fc1dfb5b9c3fc 100644
(file)
--- 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::Certificate
Chain(dcp::file_to_string(dialog.paths()[0])).leaf(
);
_thumbprint->SetValue (std_to_wx(_certificate->thumbprint()));
setup_sensitivity();
} catch (dcp::MiscError& e) {