Core: when reloading a dump, use the signing private key password for loading the encryption private key

We currently do not store the encryption private key, instead on reload
of a dump, we try to use the signing private key as the encryption
private key. But we forgot to use the stored private key password.
That's now fixed.

Next step would be to keep the encryption private key around also.
This commit is contained in:
Benjamin Dauvergne 2010-06-14 21:21:27 +00:00
parent 900a8008c4
commit c1902b7d7e
1 changed files with 1 additions and 1 deletions

View File

@ -289,7 +289,7 @@ init_from_xml(LassoNode *node, xmlNode *xmlnode)
if (server->private_key) {
server->private_data->encryption_private_key =
lasso_xmlsec_load_private_key(server->private_key, NULL);
lasso_xmlsec_load_private_key(server->private_key, server->private_key_password);
}
if (rc)
return rc;