Skip to content

Send /dev/null to s_client#2082

Merged
drwetter merged 1 commit intotestssl:3.0from
dcooper16:sclient_dev_null_30
Jan 6, 2022
Merged

Send /dev/null to s_client#2082
drwetter merged 1 commit intotestssl:3.0from
dcooper16:sclient_dev_null_30

Conversation

@dcooper16
Copy link
Copy Markdown
Collaborator

As discussed in #2079, this commit adds </dev/null to calls $OPENSSL s_client that are intended to test whether a certain option is supported. This is done to prevent hanging in the case that the option is supported, a TLS server happens to be listening on the port to which s_client tries to connect, and the connection is successful.

As discussed in testssl#2079, this commit adds "</dev/null" to calls "$OPENSSL s_client" that are intended to test whether a certain option is supported. This is done to prevent hanging in the case that the option is supported, a TLS server happens to be listening on the port to which s_client tries to connect, and the connection is successful.
@drwetter drwetter merged commit 1809595 into testssl:3.0 Jan 6, 2022
@dcooper16 dcooper16 deleted the sclient_dev_null_30 branch January 6, 2022 20:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants