From 86b7409eed4fb9f4707609a52333c5864e412c79 Mon Sep 17 00:00:00 2001 From: Dhanya Thattil Date: Mon, 13 Sep 2021 17:23:13 +0200 Subject: [PATCH] wip --- slsDetectorServers/slsDetectorServer/src/common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slsDetectorServers/slsDetectorServer/src/common.c b/slsDetectorServers/slsDetectorServer/src/common.c index 092e3c8f7..88c8f1b62 100644 --- a/slsDetectorServers/slsDetectorServer/src/common.c +++ b/slsDetectorServers/slsDetectorServer/src/common.c @@ -377,7 +377,7 @@ int verifyChecksumFromFlash(char *mess, char *clientChecksum, char *fname, oldProgress = progress; } - if (!MD5_Update(&c, buf, bytes)) { + if (!MD5_Update(&c, &character, 1)) { fclose(fp); strcpy(mess, "Unable to calculate checksum (MD5_Update)\n"); LOG(logERROR, (mess));