-
Notifications
You must be signed in to change notification settings - Fork 407
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The original version just assumes that the packet length will always be less than 255 (i.e. that the most significant byte of len will be 0), which is not always the case for tls-crypt-v2. This patch uses the OpenVPN 2.x logic and especially the comments, which are very useful to make sense of an otherwise more opaque algorithm. While at it, removed the openvpn/common/size.hpp dependency by using cstddef / std::size_t. Signed-off-by: Razvan Cojocaru <[email protected]>
- Loading branch information
Razvan Cojocaru
authored and
Jenkins-dev
committed
Jan 16, 2025
1 parent
1510a94
commit 5fcfec0
Showing
1 changed file
with
49 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters