mirror of
https://github.com/i2p/i2p.i2p.git
synced 2024-12-06 19:27:00 +01:00
SSU2: Another consolidation of keys for building retry
This commit is contained in:
@@ -462,8 +462,8 @@ class PacketBuilder2 {
|
||||
byte sentIP[] = state.getSentIP();
|
||||
pkt.setLength(LONG_HEADER_SIZE);
|
||||
int port = state.getSentPort();
|
||||
encryptRetry(packet, state.getSendHeaderEncryptKey1(), n, state.getSendHeaderEncryptKey1(),
|
||||
state.getSendHeaderEncryptKey2(),
|
||||
byte[] introKey = state.getSendHeaderEncryptKey1();
|
||||
encryptRetry(packet, introKey, n, introKey, introKey,
|
||||
sentIP, port, terminationCode);
|
||||
pkt.setSocketAddress(state.getSentAddress());
|
||||
packet.setMessageType(TYPE_CREAT);
|
||||
|
||||
Reference in New Issue
Block a user