This commit is contained in:
2021-09-10 15:41:17 +02:00
parent 05647d4a8a
commit b844cc7702
4 changed files with 44 additions and 6 deletions

View File

@@ -131,7 +131,7 @@ int copyToFlash(ssize_t fsize, char *clientChecksum, char *mess) {
return FAIL;
}
if (verifyChecksumFromFile(mess, clientChecksum, flashDriveName, fsize) ==
if (verifyChecksumFromFlash(mess, clientChecksum, flashDriveName, fsize) ==
FAIL) {
return FAIL;
}