Commit Graph

21 Commits

Author SHA1 Message Date
Ivan Nikulin 0f5daa8eb5 Remove LibreSSL leftovers 2020-11-11 14:18:00 +00:00
Ivan Nikulin 9bd7645701 Remove ossl110 gate 2020-11-11 14:08:37 +00:00
Ivan Nikulin 7d9a77e916 Remove ossl102 gate 2020-11-11 13:34:48 +00:00
Ivan Nikulin 61b600331b Remove ossl101 gate 2020-11-11 13:21:33 +00:00
Ivan Nikulin 0da810d4d5 Remove ossl110g feature gate 2020-11-11 13:11:45 +00:00
Ivan Nikulin 96d14f9e4b Remove ossl111 feature gate 2020-11-11 13:09:33 +00:00
Ivan Nikulin 8e54554cf8 Remove unimplemented OSSL111 stuff 2020-11-11 00:43:27 +00:00
Ivan Nikulin a9ea9b26e7 Revive tests 2020-11-11 00:09:31 +00:00
Steven Fackler 7546bfd148 Ignore default verify paths test on windows 2020-06-06 13:58:44 -07:00
Steven Fackler e851708589 Add SslRef::set_mtu 2020-05-25 17:22:24 -07:00
Steven Fackler f401ba2ec1 Run clippy 2020-05-24 16:31:04 -07:00
Steven Fackler ad37e7e07d
Merge pull request #1160 from HyeonuPark/set-dtls-mtu
Add ssl::set_dtls_mtu_size(usize)
2020-01-13 12:53:23 -05:00
Hyeonu Park 4d5e5e1787 add SslStreamBuilder::set_dtls_mtu_size(usize) 2019-12-29 04:17:00 +09:00
Kent Fredric bba670dc90 Avoid false-failures if underlying network connection errors
In Air-Gapped or otherwise network-restricted environments,
   TcpStream::connect can spuriously fail due to name resolution
   failure, or just in establishing the socket itself.

In this situation, the test can't give a meaningful result, and this
failure doesn't indicate a problem in the OpenSSL stack.

Bug: https://github.com/sfackler/rust-openssl/issues/1215
2019-12-27 21:15:39 +13:00
Steven Fackler d3104955dd Minimize test duplication 2019-06-28 19:51:52 -07:00
Steven Fackler 1b3e0c8a15 Add mozilla v5 configurations
Closes #1134
2019-06-28 19:42:29 -07:00
Steven Fackler b39a712076 Fix handling of session callbacks
The session context is used for session callbacks rather than the normal
context, which breaks state lookup when the context has been swapped out
(e.g. for SNI). Since there isn't an accessor for the session context,
we just store an extra reference in the SSL's ex data.

Closes #1115
2019-05-18 10:27:40 -07:00
Steven Fackler a9b9f818a1
Merge pull request #1097 from vishwin/master
Support LibreSSL 2.9.1
2019-05-08 18:40:18 -07:00
Steven Fackler 801a236413 Ignore SRTP tests on libressl 2.9.1
SRTP is broken in that release!
2019-05-08 18:19:42 -07:00
Steven Fackler 4121ac34cb Fix deprecation warnings in tests 2019-04-25 10:03:13 -07:00
Steven Fackler 0b1c2a1048 Cleanup ssl tests 2019-03-20 19:34:50 -07:00