OpenTTD Source  20240919-master-gdf0233f4c2
signature.h File Reference

Go to the source code of this file.

Functions

bool ValidateSignatureFile (const std::string &filename)
 Validate that the signatures mentioned in the signature file are matching the files in question. More...
 

Detailed Description

Routines to validate signature files.

Definition in file signature.h.

Function Documentation

◆ ValidateSignatureFile()

bool ValidateSignatureFile ( const std::string &  filename)

Validate that the signatures mentioned in the signature file are matching the files in question.

Note
if ALLOW_INVALID_SIGNATURE is defined, this function will always return true (but will still report any errors in the console).
Returns
True iff the files in the signature file passed validation.

Definition at line 267 of file signature.cpp.

References _ValidateSignatureFile().