Implement extended armor throughout system but not turned on yet.
This commit is contained in:
parent
3de5cbd105
commit
6b078ee935
9 changed files with 1223 additions and 1203 deletions
|
@ -1119,7 +1119,7 @@ void Switch::_sendViaSpecificPath(void *tPtr,SharedPtr<Peer> peer,SharedPtr<Path
|
|||
packet.setTrusted(trustedPathId);
|
||||
} else {
|
||||
if (!packet.isEncrypted()) {
|
||||
packet.armor(peer->key(),encrypt,peer->aesKeysIfSupported());
|
||||
packet.armor(peer->key(),encrypt,false,peer->aesKeysIfSupported(),peer->identity());
|
||||
}
|
||||
RR->node->expectReplyTo(packet.packetId());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue