Skip to content

Commit

Permalink
add comment about self talk
Browse files Browse the repository at this point in the history
  • Loading branch information
toidiu committed Aug 1, 2023
1 parent 42582bd commit 07e08b3
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/unit/s2n_self_talk_inet_socket_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,13 @@ static S2N_RESULT launch_test(const struct self_talk_inet_socket_callbacks *sock
return S2N_RESULT_OK;
}

/* These test are unique compared to our other self talk tests because they are testing
* socket functionality. When enabled, kTLS offloads the TLS protocol to the socket so
* its necessary to use AF_INET sockets to test this functionality. Its not possible to
* enable kTLS on a AF_UNIX socket, which is what our other self talk test use. The use
* of AF_INET socket also drives the need to fork and create two process (client and
* server) to establish the connection.
*/
int main(int argc, char **argv)
{
BEGIN_TEST();
Expand Down

0 comments on commit 07e08b3

Please sign in to comment.