summaryrefslogtreecommitdiff
path: root/src/lib/libssl/ssl_methods.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add a workaround to make SSL_set_session() work with TLSv1.3.jsing2020-02-061-1/+9
| | | | | | | | While we do not currently do session resumption, just return the TLS_client_method() or TLS_server_method() when asked for a method that does TLSv1.3. ok tb@ (who also arrived at the same diff)
* Remove the ssl_get_message function pointer from SSL_METHOD_INTERNAL.jsing2020-01-231-20/+3
| | | | | | | | | ssl_get_message is essentially a switch between ssl3_get_message and dtls1_get_message, both only used by the legacy stack. Instead, use SSL_IS_DTLS() in ssl3_get_message to call the DTLS function when necessary. ok beck@ inoguchi@ tb@
* Implement pending for TLSv1.3.jsing2020-01-231-3/+3
| | | | | | Makes `openssl s_client -peekaboo` work with TLSv1.3. ok beck@ tb@
* Switch back to a function pointer for ssl_pending.jsing2020-01-231-1/+18
| | | | | | | This will allow the TLSv1.3 stack to provide its own implementation. Nuke a completely bogus comment from SSL_pending() whilst here. ok beck@
* Wire up the TLSv1.3 server.jsing2020-01-221-3/+45
| | | | | | | | This currently only has enough code to handle fallback to the legacy TLS stack for TLSv1.2 or earlier, however allows for further development and testing. ok beck@
* Hook up the TLSv1.3 legacy shutdown code.jsing2020-01-221-2/+2
| | | | Missed in an earlier commit.
* Split the TLSv1.3 guards into separate client and server guards.jsing2020-01-221-3/+3
| | | | ok beck@ tb@
* Bring back the ssl_shutdown internal method pointer.jsing2019-11-171-1/+17
| | | | | | | For now ssl3_shutdown() is called in all cases, however TLSv1.3 will soon get its own version. ok beck@
* Provide version agnostic DTLS methods.jsing2019-03-171-1/+19
| | | | ok tb@
* Correct guards.jsing2019-02-141-3/+3
|
* Provide a TLS 1.3 capable client method.jsing2019-02-141-3/+45
| | | | ok tb@
* Consolidate all of the SSL method structs/functions into a single file.jsing2018-11-051-0/+666
Discussed with tb@