extmod/modussl_axtls: Update for axTLS 2.1.3.

ssl_client_new() accepts new SSL_EXTENSIONS* argument.
This commit is contained in:
Paul Sokolovsky 2017-06-13 17:41:46 +03:00
parent f01c1c6b35
commit 75c3f2a7ab
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ STATIC mp_obj_ssl_socket_t *socket_new(mp_obj_t sock, bool server_side) {
if (server_side) { if (server_side) {
o->ssl_sock = ssl_server_new(o->ssl_ctx, (long)sock); o->ssl_sock = ssl_server_new(o->ssl_ctx, (long)sock);
} else { } 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; int res;
/* check the return status */ /* check the return status */