Commit 75c3f2a7 authored by Paul Sokolovsky's avatar Paul Sokolovsky
Browse files

extmod/modussl_axtls: Update for axTLS 2.1.3.

ssl_client_new() accepts new SSL_EXTENSIONS* argument.
parent f01c1c6b
......@@ -62,7 +62,7 @@ STATIC mp_obj_ssl_socket_t *socket_new(mp_obj_t sock, bool server_side) {
if (server_side) {
o->ssl_sock = ssl_server_new(o->ssl_ctx, (long)sock);
} else {
o->ssl_sock = ssl_client_new(o->ssl_ctx, (long)sock, NULL, 0);
o->ssl_sock = ssl_client_new(o->ssl_ctx, (long)sock, NULL, 0, NULL);
int res;
/* check the return status */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment