mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2026-10-06 12:08:52 +00:00
don't verify Layer 2 of an encrypted LeaseSet with the outer transient
This commit is contained in:
@@ -599,6 +599,7 @@ namespace data
|
||||
// override store type and buffer
|
||||
m_StoreType = innerPlainText[0];
|
||||
SetBuffer (innerPlainText.data () + 1, lenInnerPlaintext - 1);
|
||||
m_TransientVerifier = nullptr; // Layer 2 has a signer of its own
|
||||
// parse and verify Layer 2
|
||||
ReadFromBuffer (innerPlainText.data () + 1, lenInnerPlaintext - 1, dest);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user