소스 검색

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)