OpenTTD Source  20241108-master-g80f628063a
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. 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().