Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Fix: Add missing await (#368)

Neeraj Guptacdc27e061b0e
diff --git a/lib/utils/crypto_util.dart b/lib/utils/crypto_util.dart
index 7492dcaaf1..494ef130f9 100644
--- a/lib/utils/crypto_util.dart
+++ b/lib/utils/crypto_util.dart
@@ -451,9 +451,9 @@ class CryptoUtil {
Uint8List salt,
int memLimit,
int opsLimit,
- ) {
+ ) async {
try {
- return _computer.compute(
+ return await _computer.compute(
cryptoPwHash,
param: {
"password": password,