aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/controller.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/controller.c b/src/controller.c
index 2659bd275..103f97be5 100644
--- a/src/controller.c
+++ b/src/controller.c
@@ -205,7 +205,7 @@ rspamd_is_encrypted_password (const gchar *password,
if (p->id == id) {
ret = TRUE;
if (pbkdf != NULL) {
- *pbkdf = &pbkdf_list[0];
+ *pbkdf = &pbkdf_list[i];
}
break;