Sfoglia il codice sorgente

fix: 禁用MBEDTLS_SHA1_ALT,https通信就很正常了,原因还不知道

Wendal Chen 1 anno fa
parent
commit
4ca5a21852
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      app/port/mbedtls_config_air101.h

+ 2 - 2
app/port/mbedtls_config_air101.h

@@ -268,10 +268,10 @@
  *
  */
 #define MBEDTLS_AES_ALT /* xt804 hard key only 16bytes length */
-#define MBEDTLS_ARC4_ALT
+// #define MBEDTLS_ARC4_ALT
 #define MBEDTLS_DES_ALT
 #define MBEDTLS_MD5_ALT
-#define MBEDTLS_SHA1_ALT
+// #define MBEDTLS_SHA1_ALT
 
 /*
  * When replacing the elliptic curve module, pleace consider, that it is