Philippe G 3 anni fa
parent
commit
5aca6f974c
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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)