We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a7a6cfd commit 7720b13Copy full SHA for 7720b13
1 file changed
GCDWebServer/Core/GCDWebServerFunctions.m
@@ -302,7 +302,10 @@ BOOL GCDWebServerIsTextContentType(NSString* type) {
302
const char* string = [[[NSString alloc] initWithFormat:format arguments:arguments] UTF8String];
303
va_end(arguments);
304
unsigned char md5[CC_MD5_DIGEST_LENGTH];
305
+#pragma clang diagnostic push
306
+#pragma clang diagnostic ignored "-Wdeprecated-declarations"
307
CC_MD5(string, (CC_LONG)strlen(string), md5);
308
+#pragma clang diagnostic pop
309
char buffer[2 * CC_MD5_DIGEST_LENGTH + 1];
310
for (int i = 0; i < CC_MD5_DIGEST_LENGTH; ++i) {
311
unsigned char byte = md5[i];
0 commit comments