fixed compile error (unused var)

This commit is contained in:
git@daemon.de
2015-07-07 09:46:23 +02:00
parent 57517a1000
commit 6ce39a21d8
2 changed files with 4 additions and 1 deletions

View File

@@ -129,7 +129,7 @@ string Key::export_secret(const string &passphrase) {
string Key::export_public() {
Buffer *exported_pk;
exported_pk = pcp_export_rfc_pub(K);
exported_pk = pcp_export_rfc_pub(PTX->ptx, K);
if(exported_pk == NULL)
throw pcp::exception(PTX);