context fixes

This commit is contained in:
TLINDEN
2014-05-06 11:49:31 +02:00
parent db264ff16b
commit 729c137e3c
11 changed files with 48 additions and 44 deletions

View File

@@ -24,26 +24,26 @@
using namespace std;
using namespace pcp;
Signature::Signature(PcpContext P, Key &skey) {
Signature::Signature(PcpContext &P, Key &skey) {
S = skey;
PTX = P;
havevault = false;
}
Signature::Signature(PcpContext C,PubKey &pkey) {
Signature::Signature(PcpContext &C,PubKey &pkey) {
P = pkey;
PTX = C;
havevault = false;
}
Signature::Signature(PcpContext C,Key &skey, PubKey &pkey) {
Signature::Signature(PcpContext &C,Key &skey, PubKey &pkey) {
P = pkey;
S = skey;
PTX = C;
havevault = false;
}
Signature::Signature(PcpContext P,Vault &v) {
Signature::Signature(PcpContext &P,Vault &v) {
vault = v;
havevault = true;
PTX = P;