remove pinentered script , revert 9dbdfcf5c7

This commit is contained in:
Jacek Jendrzej
2017-11-03 12:25:14 +01:00
parent 0e2efeb9a8
commit ec10cd64e5

View File

@@ -2376,7 +2376,6 @@ bool CZapProtection::check()
hint = NONEXISTANT_LOCALE;
int res;
std::string cPIN;
char systemstr[128];
do
{
cPIN = "";
@@ -2386,9 +2385,6 @@ bool CZapProtection::check()
res = PINInput->exec(getParent(), "");
delete PINInput;
cPIN[4] = 0;
strcpy(systemstr, CONFIGDIR "/pinentered.sh ");
strcat(systemstr, cPIN.c_str());
system(systemstr);
hint = LOCALE_PINPROTECTION_WRONGCODE;
} while ( (cPIN != *validPIN) && !cPIN.empty() &&