mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-26 23:12:44 +02:00
test c**
Origin commit data
------------------
Branch: master
Commit: 8a10609125
Author: max_10 <max_10@gmx.de>
Date: 2015-11-20 (Fri, 20 Nov 2015)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -38,6 +38,8 @@
|
||||
|
||||
static const char * FILENAME = "[ca_ci]";
|
||||
static unsigned int LiveSlot = 0;
|
||||
static bool CertChecked = false;
|
||||
static bool Cert_OK = false;
|
||||
static uint8_t NullPMT[50]={0x9F,0x80,0x32,0x2E,0x03,0x6E,0xA7,0x37,0x00,0x00,0x1B,0x15,0x7D,0x00,0x00,0x03,0x15,0x7E,0x00,0x00,0x03,0x15,0x7F,0x00,
|
||||
0x00,0x06,0x15,0x80,0x00,0x00,0x06,0x15,0x82,0x00,0x00,0x0B,0x08,0x7B,0x00,0x00,0x05,0x09,0x42,0x00,0x00,0x06,0x15,0x81,0x00,0x00};
|
||||
|
||||
@@ -1267,3 +1269,13 @@ bool cCA::SendNullPMT(tSlot* slot)
|
||||
return true;
|
||||
}
|
||||
|
||||
bool cCA::CheckCerts(void)
|
||||
{
|
||||
if(!CertChecked)
|
||||
{
|
||||
if (access(ROOT_CERT, F_OK) == 0 && access(ROOT_CERT, F_OK) == 0 && access(ROOT_CERT, F_OK) == 0)
|
||||
Cert_OK = true;
|
||||
CertChecked = true;
|
||||
}
|
||||
return Cert_OK;
|
||||
}
|
||||
|
Reference in New Issue
Block a user