OpenTTD Source 20241224-master-gee860a5c8e
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).
Returns
True iff the files in the signature file passed validation.

Definition at line 267 of file signature.cpp.

References _ValidateSignatureFile().