projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
51e2ea8
)
Fix incorrect loading of decryption private key from config.
author
Carl Hetherington
<cth@carlh.net>
Fri, 28 Aug 2015 10:51:47 +0000
(11:51 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Fri, 28 Aug 2015 10:51:47 +0000
(11:51 +0100)
src/lib/config.cc
patch
|
blob
|
history
diff --git
a/src/lib/config.cc
b/src/lib/config.cc
index 4995793e9ce8304e97cfcd43ece53387463dd925..fc71a72f3399430a3951c7cdfe01ac94238f13b0 100644
(file)
--- a/
src/lib/config.cc
+++ b/
src/lib/config.cc
@@
-260,7
+260,7
@@
Config::read ()
BOOST_FOREACH (cxml::NodePtr i, decryption->node_children ("Certificate")) {
c->add (dcp::Certificate (i->content ()));
}
- c->set_key (
signer
->string_child ("PrivateKey"));
+ c->set_key (
decryption
->string_child ("PrivateKey"));
_decryption_chain = c;
} else {
_decryption_chain.reset (new dcp::CertificateChain (openssl_path ()));