don't verify Layer 2 of an encrypted LeaseSet with the outer transient

This commit is contained in:
acetone
2026-09-21 13:19:02 -04:00
parent be17c94088
commit 55fa7cd72d
+1
View File
@@ -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);
}