OpenTTD Source 20260311-master-g511d3794ce
signature.h File Reference

Routines to validate signature files. More...

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.

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).
Parameters
filenameThe path to the file to validate.
Returns
True iff the files in the signature file passed validation.

Definition at line 269 of file signature.cpp.

References _ValidateSignatureFile().