hf mf chk/fchk: load dic with searchFile and fail when errors in args

This commit is contained in:
Philippe Teuwen 2019-08-26 13:03:11 +02:00
commit 4ddc3d61d5
3 changed files with 53 additions and 29 deletions

View file

@ -141,7 +141,7 @@ int loadFileJSON(const char *preferredName, void *data, size_t maxdatalen, size_
/**
* @brief Utility function to load data from a DICTIONARY textfile. This method takes a preferred name.
* E.g. default_keys.dic
* E.g. mfc_default_keys.dic
*
* @param preferredName
* @param data The data array to store the loaded bytes from file