Origin commit data
------------------
Commit: e691bceb94
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-11-03 (Fri, 03 Nov 2017)
This commit is contained in:
vanhofen
2017-11-03 13:04:12 +01:00
2 changed files with 5 additions and 4 deletions

View File

@@ -2411,7 +2411,6 @@ bool CZapProtection::check()
hint = NONEXISTANT_LOCALE;
int res;
std::string cPIN;
char systemstr[128];
do
{
cPIN = "";
@@ -2421,9 +2420,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() &&