ref: 81678aa59d3acf066b91245cf281cd1f66be8531
parent: ca9c1938ca136ebd5f341f9fb01b822905f41906
author: Timo Teräs <timo.teras@iki.fi>
date: Mon Nov 21 14:04:46 CST 2016
nlplug-findfs: accept passphrase of non-zero slots ref #6473
--- a/nlplug-findfs.c
+++ b/nlplug-findfs.c
@@ -411,7 +411,7 @@
pass, strlen(pass), 0);
pthread_mutex_unlock(&c->cryptsetup_mutex);
- if (r == 0)
+ if (r >= 0)
break;
printf("No key available with this passphrase.\n");
}