Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[15013] Add SNI API #2763

Merged
merged 1 commit into from
Jun 28, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions include/fastdds/rtps/transport/TCPTransportDescriptor.h
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@ struct TCPTransportDescriptor : public SocketTransportDescriptor
*
* - \c handshake_role: role that the transport will take on handshaking.
*
* - \c server_name: server name or host name required in case Server Name Indication (SNI) is used.
*
*/
struct TLSConfig
{
Expand Down Expand Up @@ -180,6 +182,8 @@ struct TCPTransportDescriptor : public SocketTransportDescriptor
std::string rsa_private_key_file;
//! Role that the transport will take on handshaking
TLSHandShakeRole handshake_role = TLSHandShakeRole::DEFAULT;
//! Server name or host name required in case Server Name Indication (SNI) is used
std::string server_name;

//! Add verification modes to the verification mode mask
void add_verify_mode(
Expand Down