Lines 720-731
Link Here
|
720 |
|
724 |
|
721 |
SecureMessageKey key; |
725 |
SecureMessageKey key; |
722 |
PGPKey pub = publicKeyFromId(signerId, provider()); |
726 |
PGPKey pub = publicKeyFromId(signerId, provider()); |
723 |
if(!pub.isNull()) |
727 |
if(pub.isNull()) { |
724 |
{ |
728 |
MyPGPKeyContext *kc = new MyPGPKeyContext(provider()); |
725 |
key.setPGPPublicKey(pub); |
729 |
kc->_props.keyId = signerId; |
726 |
signer = SecureMessageSignature(ir, v, key, ts); |
730 |
pub.change(kc); |
727 |
wasSigned = true; |
|
|
728 |
} |
731 |
} |
|
|
732 |
key.setPGPPublicKey(pub); |
733 |
signer = SecureMessageSignature(ir, v, key, ts); |
734 |
wasSigned = true; |
729 |
} |
735 |
} |
730 |
} |
736 |
} |
731 |
else |
737 |
else |