select random port if port not found or specified

This commit is contained in:
orignal 2022-08-10 22:00:11 -04:00
parent f4d6a08d57
commit 9d123fa5ad
2 changed files with 20 additions and 13 deletions

View file

@ -186,6 +186,7 @@ namespace garlic
bool IsSSU2Only () const; // SSU2 and no SSU
bool Load ();
void SaveKeys ();
uint16_t SelectRandomPort () const;
bool DecryptECIESTunnelBuildRecord (const uint8_t * encrypted, uint8_t * data, size_t clearTextSize);