Skip to content

armgit / ente

Public Imported from GitHub
0

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

Fix: Add missing await

Neeraj Gupta524c68b59300
diff --git a/lib/utils/crypto_util.dart b/lib/utils/crypto_util.dart
index 3c6be311b3..2005e7882f 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,