summaryrefslogtreecommitdiff
path: root/plugins/PluginUpdater
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/PluginUpdater')
-rw-r--r--plugins/PluginUpdater/src/checksum.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/plugins/PluginUpdater/src/checksum.cpp b/plugins/PluginUpdater/src/checksum.cpp
index 9d0a38bcaa..cda58f10eb 100644
--- a/plugins/PluginUpdater/src/checksum.cpp
+++ b/plugins/PluginUpdater/src/checksum.cpp
@@ -269,9 +269,6 @@ LBL_NotPE:
BYTE digest[16];
mir_md5_finish(&pms, digest);
-
- for (int i=0; i < sizeof(digest); i++)
- sprintf(szDest + i*2, "%02x", digest[i]); //!!!!!!!!!!!
-
+ bin2hex(digest, sizeof(digest), szDest);
return RESULT_OK;
}