Text of github.com › curl › curl › issues › 11098 as Styx crawled it on Nov 19, 2026. The page may have changed since. Only its words are kept, without pictures or layout, and only the first part of a long page.

Open the live page

Compilation warnings when building for iOS min version 13 · Issue #11098 · curl/curl · GitHub

Skip to content You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert Compilation warnings when building for iOS min version 13 #11098 New issue Copy link New issue Copy link Closed Closed Compilation warnings when building for iOS min version 13 #11098 Copy link Labels KNOWN_BUGS material build Description jnavarrom opened on May 10, 2023 Issue body actions I did this Compiling curl for iOS and min versions iOS 13 configure: Configured to build curl/libcurl: Host setup: arm-apple-darwin Install prefix: /usr/local Compiler: /Applications/Xcode.app/Contents/Developer/usr/bin/gcc -arch arm64 CFLAGS: -Os -arch arm64 -pipe -no-cpp-precomp -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS16.4.sdk -miphoneos-version-min=13.0 -Qunused-arguments -Wno-pointer-bool-conversion -Werror=partial-availability CPPFLAGS: -Os -arch arm64 -pipe -no-cpp-precomp -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS16.4.sdk -miphoneos-version-min=13.0 -DNDEBUG LDFLAGS: -Os -arch arm64 -Wl,-dead_strip -miphoneos-version-min=13.0 -framework CoreFoundation -framework Security LIBS: -lz curl version: 8.0.1 SSL: enabled (Secure Transport) SSH: no (--with-{libssh,libssh2}) zlib: enabled brotli: no (--with-brotli) zstd: no (--with-zstd) GSS-API: no (--with-gssapi) GSASL: no (libgsasl not found) TLS-SRP: no (--enable-tls-srp) resolver: POSIX threaded IPv6: enabled Unix sockets: enabled IDN: no (--with-{libidn2,winidn}) Build libcurl: Shared=no, Static=yes Built-in manual: no (--enable-manual) --libcurl option: enabled (--disable-libcurl-option) Verbose errors: enabled (--disable-verbose) Code coverage: disabled SSPI: no (--enable-sspi) ca cert bundle: no ca cert path: ca fallback: LDAP: no (--enable-ldap / --with-ldap-lib / --with-lber-lib) LDAPS: no (--enable-ldaps) RTSP: no (--enable-rtsp) RTMP: no (--with-librtmp) PSL: no (libpsl not found) Alt-svc: enabled (--disable-alt-svc) Headers API: enabled (--disable-headers-api) HSTS: enabled (--disable-hsts) HTTP1: enabled (internal) HTTP2: no (--with-nghttp2, --with-hyper) HTTP3: no (--with-ngtcp2, --with-quiche --with-msh3) ECH: no (--enable-ech) WebSockets: no (--enable-websockets) Protocols: HTTP HTTPS MQTT Features: AsynchDNS HSTS HTTPS-proxy IPv6 Largefile NTLM NTLM_WB SSL UnixSockets alt-svc libz threadsafe Compilation warnings: md4.c:117:9: warning: 'CC_MD4_Init' is deprecated: first deprecated in iOS 13.0 - This function is cryptographically broken and should not be used in security contexts.

Clients should migrate to SHA256 (or stronger). [-Wdeprecated-declarations] (void)CC_MD4_Init(ctx); ^ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS16.4.sdk/usr/include/CommonCrypto/CommonDigest.h:106:12: note: 'CC_MD4_Init' has been explicitly marked deprecated here extern int CC_MD4_Init(CC_MD4_CTX *c) ^ md4.c:122:9: warning: 'CC_MD4_Update' is deprecated: first deprecated in iOS 13.0 - This function is cryptographically broken and should not be used in security contexts.

Clients should migrate to SHA256 (or stronger). [-Wdeprecated-declarations] (void)CC_MD4_Update(ctx, data, (CC_LONG)size); ^ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS16.4.sdk/usr/include/CommonCrypto/CommonDigest.h:109:12: note: 'CC_MD4_Update' has been explicitly marked deprecated here extern int CC_MD4_Update(CC_MD4_CTX *c, const void *data, CC_LONG len) ^ md4.c:127:9: warning: 'CC_MD4_Final' is deprecated: first deprecated in iOS 13.0 - This function is cryptographically broken and should not be used in security contexts.

Clients should migrate to SHA256 (or stronger). [-Wdeprecated-declarations] (void)CC_MD4_Final(result, ctx); ^ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS16.4.sdk/usr/include/CommonCrypto/CommonDigest.h:112:12: note: 'CC_MD4_Final' has been explicitly marked deprecated here extern int CC_MD4_Final(unsigned char *md, CC_MD4_CTX *c) ^ 3 warnings generated. CC libcurl_la-multi.lo CC libcurl_la-netrc.lo CC libcurl_la-nonblock.lo CC libcurl_la-noproxy.lo CC libcurl_la-openldap.lo md5.c:180:7: warning: 'CC_MD5_Init' is deprecated: first deprecated in iOS 13.0 - This function is cryptographically broken and should not be used in security contexts.

Clients should migrate to SHA256 (or stronger). [-Wdeprecated-declarations] if(!CC_MD5_Init(ctx)) ^ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS16.4.sdk/usr/include/CommonCrypto/CommonDigest.h:133:12: note: 'CC_MD5_Init' has been explicitly marked deprecated here extern int CC_MD5_Init(CC_MD5_CTX *c) ^ md5.c:190:3: warning: 'CC_MD5_Update' is deprecated: first deprecated in iOS 13.0 - This function is cryptographically broken and should not be used in security contexts.

Clients should migrate to SHA256 (or stronger). [-Wdeprecated-declarations] CC_MD5_Update(ctx, input, inputLen); ^ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS16.4.sdk/usr/include/CommonCrypto/CommonDigest.h:136:12: note: 'CC_MD5_Update' has been explicitly marked deprecated here extern int CC_MD5_Update(CC_MD5_CTX *c, const void *data, CC_LONG len) ^ md5.c:195:3: warning: 'CC_MD5_Final' is deprecated: first deprecated in iOS 13.0 - This function is cryptographically broken and should not be used in security contexts.

Clients should migrate to SHA256 (or stronger). [-Wdeprecated-declarations] CC_MD5_Final(digest, ctx); ^ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS16.4.sdk/usr/include/CommonCrypto/CommonDigest.h:139:12: note: 'CC_MD5_Final' has been explicitly marked deprecated here extern int CC_MD5_Final(unsigned char *md, CC_MD5_CTX *c) vtls/sectransp.c:1196:7: warning: 'CFURLCreateDataAndPropertiesFromResource' is deprecated: first deprecated in iOS 7.0 - For resource data, use the CFReadStream API.

For file resource properties, use CFURLCopyResourcePropertiesForKeys. [-Wdeprecated-declarations] CFURLCreateDataAndPropertiesFromResource(NULL, ^ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS16.4.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURLAccess.h:52:9: note: 'CFURLCreateDataAndPropertiesFromResource' has been explicitly marked deprecated here Boolean CFURLCreateDataAndPropertiesFromResource(CFAllocatorRef alloc, CFURLRef url, CFDataRef *resourceData, CFDictionaryRef *properties, CFArrayRef desiredProperties, SInt32 *errorCode) API_DEPRECATED("For resource data, use the CFReadStream API.

For file resource properties, use CFURLCopyResourcePropertiesForKeys.", macos(10.0,10.9), ios(2.0,7.0), watchos(2.0,2.0), tvos(9.0,9.0)); ^ vtls/sectransp.c:1309:20: warning: 'kTLSProtocol1' is deprecated: first deprecated in iOS 13.0 [-Wdeprecated-declarations] *darwinver = kTLSProtocol1; ^ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS16.4.sdk/System/Library/Frameworks/Security.framework/Headers/SecProtocolTypes.h:157:5: note: 'kTLSProtocol1' has been explicitly marked deprecated here kTLSProtocol1 CF_ENUM_DEPRECATED(10_2, 10_15, 5_0, 13_0) = 4, ^ vtls/sectransp.c:1312:20: warning: 'kTLSProtocol11' is deprecated: first deprecated in iOS 13.0 [-Wdeprecated-declarations] *darwinver = kTLSProtocol11; ^ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS16.4.sdk/System/Library/Frameworks/Security.framework/Headers/SecProtocolTypes.h:158:5: note: 'kTLSProtocol11' has been explicitly marked deprecated here kTLSProtocol11 CF_ENUM_DEPRECATED(10_2, 10_15, 5_0, 13_0) = 7, ^ vtls/sectransp.c:1315:20: warning: 'kTLSProtocol

The rest of this page is on the live site.