summaryrefslogtreecommitdiff
path: root/src/KM_fileio.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-06-24 23:45:27 +0200
committerCarl Hetherington <cth@carlh.net>2025-09-15 22:16:23 +0200
commit2eeee990f029779d8d1c2205b99a239bf87fbbe5 (patch)
tree8a5402633b55a447f03e07f7f061318f0a5164a6 /src/KM_fileio.h
parent6fe97406c72dd95339e4045679507b709dbefae2 (diff)
Hash to a vector of bytes rather than an ASCII string.2758-safe-write
Diffstat (limited to 'src/KM_fileio.h')
-rwxr-xr-xsrc/KM_fileio.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/KM_fileio.h b/src/KM_fileio.h
index 38f7301..177d017 100755
--- a/src/KM_fileio.h
+++ b/src/KM_fileio.h
@@ -34,6 +34,7 @@ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include "KM_util.h"
#include <string>
+#include <vector>
#include <openssl/md5.h>
#ifdef KM_WIN32
@@ -405,7 +406,7 @@ namespace Kumu
void StartHashing();
void MaybeHash(void const*, int);
- std::string StopHashing();
+ std::vector<uint8_t> StopHashing();
};
Result_t CreateDirectoriesInPath(const std::string& Path);