summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2019-01-14 15:47:35 +0000
committerCarl Hetherington <cth@carlh.net>2019-01-14 15:47:35 +0000
commitd3598922d970bba6fcb468c331e1f0a33bef1a0f (patch)
treedf687d9b147341fed81696ad7872ae5d45be7b43
parentcc38254d8456eb7982704005b14c4c594c952c9f (diff)
parent0176ce02863f89315774cc2907f5beb33c21360f (diff)
Merge branch 'master' of ssh://git.carlh.net/home/carl/git/libdcp
-rw-r--r--src/certificate_chain.cc5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/certificate_chain.cc b/src/certificate_chain.cc
index 0e032a85..6b4216b5 100644
--- a/src/certificate_chain.cc
+++ b/src/certificate_chain.cc
@@ -639,11 +639,6 @@ CertificateChain::add_signature_value (xmlpp::Node* parent, string ns) const
throw runtime_error ("could not read private key");
}
- /* XXX: set key name to the PEM string: this can't be right! */
- if (xmlSecKeySetName (signature_context->signKey, reinterpret_cast<const xmlChar *> (_key->c_str())) < 0) {
- throw MiscError ("could not set key name");
- }
-
int const r = xmlSecDSigCtxSign (signature_context, parent->cobj ());
if (r < 0) {
throw MiscError (String::compose ("could not sign (%1)", r));