-
Notifications
You must be signed in to change notification settings - Fork 323
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* set SNI for outbound TLS connection - it is a good practice to indicate SNI for target server Signed-off-by: ales stibal <[email protected]> * reformat to match origin style * if setting SNI fails, don't error, just warn and continue * nicer if statements :) Signed-off-by: ales stibal <[email protected]> * fix missing argument for log_warn * Change --no-sni to --sni * Option --sni requires a mandatory argument, a server name (SNI) to use during TLS handshake. * If omitted, openfortivpn will use the host argument instead. * Always set SNI during TLS handshake, using the SNI passed with option --sni, or the host argument. * Style fix --------- Signed-off-by: ales stibal <[email protected]> Co-authored-by: ales stibal <[email protected]>
- Loading branch information
1 parent
6a5a91f
commit 91527f2
Showing
4 changed files
with
28 additions
and
1 deletion.
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
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
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
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