mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-28 07:51:11 +02:00
remove pinentered script , revert a46910dd27
Origin commit data
------------------
Branch: ni/coolstream
Commit: ec10cd64e5
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2017-11-03 (Fri, 03 Nov 2017)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -2376,7 +2376,6 @@ bool CZapProtection::check()
|
|||||||
hint = NONEXISTANT_LOCALE;
|
hint = NONEXISTANT_LOCALE;
|
||||||
int res;
|
int res;
|
||||||
std::string cPIN;
|
std::string cPIN;
|
||||||
char systemstr[128];
|
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
cPIN = "";
|
cPIN = "";
|
||||||
@@ -2386,9 +2385,6 @@ bool CZapProtection::check()
|
|||||||
res = PINInput->exec(getParent(), "");
|
res = PINInput->exec(getParent(), "");
|
||||||
delete PINInput;
|
delete PINInput;
|
||||||
cPIN[4] = 0;
|
cPIN[4] = 0;
|
||||||
strcpy(systemstr, CONFIGDIR "/pinentered.sh ");
|
|
||||||
strcat(systemstr, cPIN.c_str());
|
|
||||||
system(systemstr);
|
|
||||||
|
|
||||||
hint = LOCALE_PINPROTECTION_WRONGCODE;
|
hint = LOCALE_PINPROTECTION_WRONGCODE;
|
||||||
} while ( (cPIN != *validPIN) && !cPIN.empty() &&
|
} while ( (cPIN != *validPIN) && !cPIN.empty() &&
|
||||||
|
Reference in New Issue
Block a user