mirror of
https://github.com/puma/puma.git
synced 2022-11-09 13:48:40 -05:00
DTLSv1_method -> DTLS_method
This commit is contained in:
parent
2668597ec1
commit
12df435f7e
1 changed files with 1 additions and 1 deletions
|
@ -217,7 +217,7 @@ VALUE engine_init_client(VALUE klass) {
|
|||
VALUE obj;
|
||||
ms_conn* conn = engine_alloc(klass, &obj);
|
||||
|
||||
conn->ctx = SSL_CTX_new(DTLSv1_method());
|
||||
conn->ctx = SSL_CTX_new(DTLS_method());
|
||||
conn->ssl = SSL_new(conn->ctx);
|
||||
SSL_set_app_data(conn->ssl, NULL);
|
||||
SSL_set_verify(conn->ssl, SSL_VERIFY_NONE, NULL);
|
||||
|
|
Loading…
Add table
Reference in a new issue