Patch level : 12.0 902
Files correlati : ba1 Commento : Aggiunta verifica firma
This commit is contained in:
		
							parent
							
								
									48e829d621
								
							
						
					
					
						commit
						71ec85d92a
					
				@ -2001,6 +2001,8 @@ bool TFascicolator_mask::set_version_info(const TFilename& filename,
 | 
			
		||||
    if (outfile.is_open())
 | 
			
		||||
      outfile.close();        // Qualcuno qui si dimentica di chiuderli i file eh?! Aspettiamo che il programma termini per rilasciare le risorse?
 | 
			
		||||
    SIRIOSIGN(filename);      // Super modifica per la firma durante la creazione delle patch. Tolta firma in post-compilazione. (Solo per exe, dll ancora in post-compilazione)
 | 
			
		||||
    if (!SIRIOSIGN_VERIFY(filename))
 | 
			
		||||
      warning_box("Attenzione il file %s non e' firmato correttamente.", static_cast<const char*>(filename));
 | 
			
		||||
  }
 | 
			
		||||
  return ok;
 | 
			
		||||
}
 | 
			
		||||
@ -2097,6 +2099,8 @@ bool TCreadischi_mask::zip_module(const TString& main_module, bool agg, int patc
 | 
			
		||||
          submod.strncpy(row->get(2), 2);
 | 
			
		||||
          set_version_info(cmd, ini, submod);  
 | 
			
		||||
        }
 | 
			
		||||
        if (xvt_str_compare_ignoring_case(cmd.ext(), "dll") == 0 && !SIRIOSIGN_VERIFY(cmd)) // Controllo firma per le dll
 | 
			
		||||
          warning_box("Attenzione il file %s non e' firmato correttamente.", static_cast<const char*>(cmd));
 | 
			
		||||
        _stat((const char *)cmd,&info);
 | 
			
		||||
        lasttime = max(lasttime, info.st_mtime);
 | 
			
		||||
      }
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user