| 199 | |
| 200 | |
| 201 | SSL_METHOD* SSLv23_client_method() |
| 202 | { |
| 203 | // compatibility only, no version 2 support, but does SSL 3 and TLS 1 |
| 204 | // though it sends TLS1 hello not SSLv2 so SSLv3 only servers will decline |
| 205 | // TODO: maybe add support to send SSLv2 hello ??? |
| 206 | return NEW_YS SSL_METHOD(client_end, ProtocolVersion(3,2), true); |
| 207 | } |
| 208 | |
| 209 | |
| 210 | SSL_CTX* SSL_CTX_new(SSL_METHOD* method) |
no test coverage detected