mirror of
https://github.com/EvernodeXRPL/hpcore.git
synced 2026-04-29 15:37:59 +00:00
Updated hpfs hash verification with file mode checks. (#257)
* Added file mode to hpfs responses. * Parse file mode on hpfs response read. * Apply file/dir mode. * Fixed mode apply logic. * Fixed code review comments. * Additional fix.
This commit is contained in:
@@ -115,7 +115,7 @@ namespace crypto
|
||||
* @param data_length hash data length.
|
||||
* @return The blake3 hash of the pointed buffer.
|
||||
*/
|
||||
const std::string get_hash(const unsigned char *data, size_t data_length)
|
||||
const std::string get_hash(const void *data, const size_t data_length)
|
||||
{
|
||||
std::string hash;
|
||||
hash.resize(BLAKE3_OUT_LEN);
|
||||
|
||||
Reference in New Issue
Block a user