Explorar el Código

update qstrdefs.generated.h

SummerGift hace 8 años
padre
commit
284ed66247
Se han modificado 2 ficheros con 10 adiciones y 0 borrados
  1. 6 0
      port/genhdr/qstrdefs.generated.h
  2. 4 0
      port/mpconfigport.h

+ 6 - 0
port/genhdr/qstrdefs.generated.h

@@ -561,6 +561,12 @@ QDEF(MP_QSTR_ECONNRESET, (const byte*)"\x19\x0a" "ECONNRESET")
 QDEF(MP_QSTR_EHOSTUNREACH, (const byte*)"\x86\x0c" "EHOSTUNREACH")
 QDEF(MP_QSTR_EHOSTUNREACH, (const byte*)"\x86\x0c" "EHOSTUNREACH")
 QDEF(MP_QSTR_EALREADY, (const byte*)"\x46\x08" "EALREADY")
 QDEF(MP_QSTR_EALREADY, (const byte*)"\x46\x08" "EALREADY")
 QDEF(MP_QSTR_EINPROGRESS, (const byte*)"\x9a\x0b" "EINPROGRESS")
 QDEF(MP_QSTR_EINPROGRESS, (const byte*)"\x9a\x0b" "EINPROGRESS")
+QDEF(MP_QSTR_ussl, (const byte*)"\x1c\x04" "ussl")
+QDEF(MP_QSTR_wrap_socket, (const byte*)"\xcb\x0b" "wrap_socket")
+QDEF(MP_QSTR_getpeercert, (const byte*)"\xb1\x0b" "getpeercert")
+QDEF(MP_QSTR_cert, (const byte*)"\x25\x04" "cert")
+QDEF(MP_QSTR_server_side, (const byte*)"\x64\x0b" "server_side")
+QDEF(MP_QSTR_server_hostname, (const byte*)"\x58\x0f" "server_hostname")
 
 
 
 
 // This file was automatically generated by makeqstrdata.py
 // This file was automatically generated by makeqstrdata.py

+ 4 - 0
port/mpconfigport.h

@@ -144,6 +144,10 @@
 #define MICROPY_PY_USOCKET          (1)
 #define MICROPY_PY_USOCKET          (1)
 #define MICROPY_PY_NETWORK          (0)
 #define MICROPY_PY_NETWORK          (0)
 #define MICROPY_PY_USELECT          (0)
 #define MICROPY_PY_USELECT          (0)
+#define MICROPY_PY_USSL             (1)
+#define MICROPY_SSL_MBEDTLS         (1)
+
+//#define MBEDTLS_CONFIG_FILE  "tls_config.h"
 
 
 #if MICROPY_PY_THREAD
 #if MICROPY_PY_THREAD
 #define MICROPY_EVENT_POLL_HOOK \
 #define MICROPY_EVENT_POLL_HOOK \