瀏覽代碼

free mbedtls

Philippe G 3 年之前
父節點
當前提交
5aca6f974c
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      components/spotify/cspot/bell/src/CryptoMBedTLS.cpp

+ 1 - 1
components/spotify/cspot/bell/src/CryptoMBedTLS.cpp

@@ -165,7 +165,7 @@ void CryptoMbedTLS::dhInit()
     mbedtls_mpi_free(&prime);
     mbedtls_mpi_free(&generator);
     mbedtls_mpi_free(&privKey);
-    //mbedtls_mpi_free(&res);
+    mbedtls_mpi_free(&res);
 }
 
 std::vector<uint8_t> CryptoMbedTLS::dhCalculateShared(const std::vector<uint8_t> &remoteKey)