Skip to content

Commit

Permalink
Close OpenSSL connection on verification error
Browse files Browse the repository at this point in the history
Argument `verify_return_error` has been added to OpenSSL E2E tests.
  • Loading branch information
igolaizola committed Feb 24, 2020
1 parent e833bab commit 1b1f654
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions e2e/e2e_openssl_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ func serverOpenSSL(c *comm) {
"-dtls1_2",
"-quiet",
"-verify_quiet",
"-verify_return_error",
fmt.Sprintf("-accept=%d", c.serverPort),
}
ciphers := ciphersOpenSSL(cfg)
Expand Down Expand Up @@ -109,6 +110,7 @@ func clientOpenSSL(c *comm) {
"-dtls1_2",
"-quiet",
"-verify_quiet",
"-verify_return_error",
"-servername=localhost",
fmt.Sprintf("-connect=127.0.0.1:%d", c.serverPort),
}
Expand Down

0 comments on commit 1b1f654

Please sign in to comment.