summaryrefslogtreecommitdiff
path: root/src/encryptedPacket.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/encryptedPacket.h')
-rw-r--r--src/encryptedPacket.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/encryptedPacket.h b/src/encryptedPacket.h
index 4f64022..618fa44 100644
--- a/src/encryptedPacket.h
+++ b/src/encryptedPacket.h
@@ -45,7 +45,7 @@ public:
* @param the length of the payload
* @param allow reallocation of buffer
*/
- EncryptedPacket(u_int32_t payload_length, bool allow_realloc = false);
+ EncryptedPacket(u_int32_t payload_length, u_int32_t auth_tag_length, bool allow_realloc = false);
/**
* Packet destructor
@@ -152,7 +152,7 @@ private:
struct HeaderStruct* header_;
u_int8_t * payload_;
u_int8_t * auth_tag_;
- static const u_int32_t AUTHTAG_SIZE = 10; // TODO: hardcoded size
+ u_int32_t auth_tag_length_;
};
#endif