Philippe G il y a 3 ans
Parent
commit
5aca6f974c
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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)