EgtExecutor 2.5e5 :
- migliorato controllo gestione chiave di rete.
This commit is contained in:
+8
-1
@@ -45,8 +45,15 @@ HMODULE s_hENs = nullptr ;
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
bool
|
||||
LoadNestingDll( ILogger* pLogger, const string& sKey, const string& sKey2)
|
||||
LoadNestingDll( ILogger* pLogger, const string& sKey, const string& sKey2, bool bNetHwKey)
|
||||
{
|
||||
// non ammessa con chiave di rete
|
||||
if ( bNetHwKey) {
|
||||
std::string sErr = "Warning on Key (ENS/NET)" ;
|
||||
LOG_ERROR( pLogger, sErr.c_str()) ;
|
||||
FreeNestingDll() ;
|
||||
return false ;
|
||||
}
|
||||
// verifico la chiave
|
||||
if ( ! TestKeyForENs( sKey, 0, pLogger)) {
|
||||
FreeNestingDll() ;
|
||||
|
||||
Reference in New Issue
Block a user