[Scummvm-git-logs] scummvm master -> 7ccf03534ddfe05e6feb54af32b965008833f7ee
bluegr
noreply at scummvm.org
Sat Feb 7 14:56:11 UTC 2026
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .
Summary:
7ccf03534d JANITORIAL: CREATE_PROJECT: disable MD5 deprecation warning
Commit: 7ccf03534ddfe05e6feb54af32b965008833f7ee
https://github.com/scummvm/scummvm/commit/7ccf03534ddfe05e6feb54af32b965008833f7ee
Author: Michael Kuerbis (michael_kuerbis at web.de)
Date: 2026-02-07T16:56:07+02:00
Commit Message:
JANITORIAL: CREATE_PROJECT: disable MD5 deprecation warning
Changed paths:
devtools/create_project/xcode.cpp
diff --git a/devtools/create_project/xcode.cpp b/devtools/create_project/xcode.cpp
index d5b8830c8f7..784ab5957f4 100644
--- a/devtools/create_project/xcode.cpp
+++ b/devtools/create_project/xcode.cpp
@@ -1705,6 +1705,11 @@ std::string XcodeProvider::getHash(std::string key) {
bool isSeparator(char s) { return (s == '-'); }
#ifdef MACOSX
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wdeprecated-declarations"
+// CC_MD5 is declared deprecated because MD5 is not a secure algorithm
+// but this code is not about security
+
std::string XcodeProvider::md5(std::string key) {
unsigned char md[CC_MD5_DIGEST_LENGTH];
CC_MD5(key.c_str(), (CC_LONG) key.length(), md);
@@ -1715,6 +1720,8 @@ std::string XcodeProvider::md5(std::string key) {
}
return stream.str();
}
+
+#pragma clang diagnostic pop
#endif
std::string XcodeProvider::newHash() const {
More information about the Scummvm-git-logs
mailing list