Remove some obsolete stuff, rev protocol version.

This commit is contained in:
Adam Ierymenko 2024-09-22 12:32:17 -04:00
parent 5b7e1ceb68
commit a44fd40889
No known key found for this signature in database
GPG key ID: C8877CF2D7A5D7F3
4 changed files with 34 additions and 112 deletions

View file

@ -1009,7 +1009,6 @@ void Packet::armor(const void *key,bool encryptPayload,const AES aesKeys[2])
{
uint8_t *const data = reinterpret_cast<uint8_t *>(unsafeData());
if ((aesKeys) && (encryptPayload)) {
//char tmp0[16],tmp1[16];
setCipher(ZT_PROTO_CIPHER_SUITE__AES_GMAC_SIV);
uint8_t *const payload = data + ZT_PACKET_IDX_VERB;