Title: [234606] trunk/Source/WTF
- Revision
- 234606
- Author
- [email protected]
- Date
- 2018-08-06 10:25:13 -0700 (Mon, 06 Aug 2018)
Log Message
Unreviewed, fix the build by ignoring some deprecation warnings.
* wtf/MD5.cpp:
(WTF::MD5::MD5):
(WTF::MD5::addBytes):
(WTF::MD5::checksum):
Modified Paths
Diff
Modified: trunk/Source/WTF/ChangeLog (234605 => 234606)
--- trunk/Source/WTF/ChangeLog 2018-08-06 17:12:24 UTC (rev 234605)
+++ trunk/Source/WTF/ChangeLog 2018-08-06 17:25:13 UTC (rev 234606)
@@ -1,3 +1,12 @@
+2018-08-03 Ryan Haddad <[email protected]>
+
+ Unreviewed, fix the build by ignoring some deprecation warnings.
+
+ * wtf/MD5.cpp:
+ (WTF::MD5::MD5):
+ (WTF::MD5::addBytes):
+ (WTF::MD5::checksum):
+
2018-08-03 Ben Richards <[email protected]>
We should cache the compiled sandbox profile in a data vault
Modified: trunk/Source/WTF/wtf/MD5.cpp (234605 => 234606)
--- trunk/Source/WTF/wtf/MD5.cpp 2018-08-06 17:12:24 UTC (rev 234605)
+++ trunk/Source/WTF/wtf/MD5.cpp 2018-08-06 17:25:13 UTC (rev 234606)
@@ -59,17 +59,26 @@
MD5::MD5()
{
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wdeprecated-declarations"
CC_MD5_Init(&m_context);
+#pragma clang diagnostic pop
}
void MD5::addBytes(const uint8_t* input, size_t length)
{
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wdeprecated-declarations"
CC_MD5_Update(&m_context, input, length);
+#pragma clang diagnostic pop
}
void MD5::checksum(Digest& hash)
{
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wdeprecated-declarations"
CC_MD5_Final(hash.data(), &m_context);
+#pragma clang diagnostic pop
}
#else
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes